Bug #2032 [NEW]: PEAR_ErrorStack::setCallback not defined
| From: | gramlich at eosc dot de | Date: | Sat, 31 Jul 2004 11:56:42 +0000 |
| Subject: | Bug #2032 [NEW]: PEAR_ErrorStack::setCallback not defined | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4697@lists.php.net to get a copy of this message | ||
From: gramlich at eosc dot de
Operating system:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: PEAR_ErrorStack::setCallback not defined
Description:
------------
On page
http://pear.php.net/manual/en/core.pear.pear-errorstack.intro.php
in the second example block, it reads
// use the callback
$dbstack->setCallback(array(&$myobj, 'errorCallback'));
Should probably be setDefaultCallback.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=2032&edit=1
--