Re: Fwd: Text_Wiki 0.8.1
| From: | Paul M Jones | Date: | Tue, 24 Feb 2004 04:43:17 +0000 |
| Subject: | Re: Fwd: Text_Wiki 0.8.1 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25835@lists.php.net to get a copy of this message | ||
On Feb 23, 2004, at 10:15 PM, Paul M Jones wrote:
Begin forwarded message:Discovered the trouble. When creating a Text_Wiki object, be certain to assign by reference...From: "Mike Shappe" <mikey@hundred-acre-wood.com> Date: February 23, 2004 9:43:50 PM CST To: pmjones@ciaweb.net Subject: Text_Wiki [This message has been brought to you via pear.php.net.] I don't want to be rude, but I can find no evidence that Text_Wiki 0.8.1 actually does anything. $wiki->transform($foo) returns a completely unmodified $foo!Anybody else noticing this? It's working on my "production" systems (the PEAR wiki, a couple of others)... testing now...
$obj =& new Text_Wiki();... not by copy:
$obj = new Text_Wiki();The second example (by-copy) will fail transformation. The 0.8.1 and prior docs/index.php script assigned by copy; will roll 0.8.2 with an updated index.php script in docs/. -- Paul M. Jones pmjones@ciaweb.net Savant: the simple alternative to Smarty. http://phpsavant.com/