Bug #2393 [NEW]: typo in example code of cache_lite_output
| From: | brammeleman at brammeleman dot org | Date: | Fri, 24 Sep 2004 20:32:04 +0000 |
| Subject: | Bug #2393 [NEW]: typo in example code of cache_lite_output | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4848@lists.php.net to get a copy of this message | ||
From: brammeleman at brammeleman dot org
Operating system:
PHP version: 4.3.8
Package: Documentation
Bug Type: Bug
Bug description: typo in example code of cache_lite_output
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 bug report at http://pear.php.net/bugs/bug.php?id=2393&edit=1
--