Bug #5826 [Asn->Bgs]: Error in example code

From: Date: Thu, 17 Nov 2005 08:59:06 +0000
Subject: Bug #5826 [Asn->Bgs]: Error in example code
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7170@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=5826&edit=1 ID: 5826 Updated by: fab@php.net Reported By: tobor at robotsrule dot com -Status: Assigned +Status: Bogus Id: 5826 Type: Bug Package: Documentation Operating System: n/a PHP Version: Irrelevant Assigned To: fab New Comment: Thank you for taking the time to write to us, but this is not a bug. the example is good Previous Comments: ------------------------------------------------------------------------ [2005-11-17 03:58:12] fab at php dot net the $id parameter is optionnal (if not given, Cache_Lite uses the $id given in the get() method). So the example is good. ------------------------------------------------------------------------ [2005-11-17 03:57:51] fab at php dot net the $id parameter is optionnal (if not given, Cache_Lite uses the $id given in the get() method. ------------------------------------------------------------------------ [2005-10-30 12:53:43] tobor at robotsrule dot com Description: ------------ The documentation for the Cache_Lite::save() function is incorrect. In the sample code box, the save() call is shown as: $cache->save($data); As you can see the $id parameter is missing from the save() call. URL for the affected page is here: http://pear.php.net/manual/en/package.caching.cache-lite.cache-lite.save.php ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=5826&edit=1

« previous php.pear.doc (#7170) next »