Bug #2393 [Opn->Csd]: typo in example code of cache_lite_output
| From: | arnaud at limbourg dot com | Date: | Tue, 28 Sep 2004 05:47:24 +0000 |
| Subject: | Bug #2393 [Opn->Csd]: typo in example code of cache_lite_output | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-4886@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=2393&edit=1
ID: 2393
Updated by: arnaud@limbourg.com
Reported By: brammeleman at brammeleman dot org
-Status: Open
+Status: Closed
Type: Bug
Package: Documentation
PHP Version: 4.3.8
New Comment:
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2004-09-24 16:32:04] brammeleman at brammeleman dot org
Description:
------------
There is a typo in the sample code at
http://pear.php.net/manual/en/package.default.cache-lite.cache-lite-output.start.php.
Line 9 of the first example misses a 'new' statement.
$cache = Cache_Lite_Output($options);
should be:
$cache = new Cache_Lite_Output($options);
Took me 15 minutes to find out... after a lazy copy-paste action ;-)
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=2393&edit=1