Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #2393 typo in example code of cache_lite_output
Submitted: 2004-09-24 20:32 UTC
From: brammeleman at brammeleman dot org Assigned: arnaud
Status: Closed Package: Documentation
PHP Version: 4.3.8 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-09-24 20:32 UTC] 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 ;-)

Comments

 [2004-09-28 05:47 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!