Re: DB_DataObject overload() fatal error... using PHP 5

From: Date: Fri, 23 Jul 2004 02:21:04 +0000
Subject: Re: DB_DataObject overload() fatal error... using PHP 5
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13811@lists.php.net to get a copy of this message
is that the latest release? - it's fixed in CVS. Regards Alan David Dahl wrote:
Has anyone gotten this error with DB_DataObject? =========ERROR OUTPUT========== Fatal error: Call to undefined function overload() in /usr/lib/php/DB/DataObject.php on line 2428 ========END ERROR OUTPUT======= at line 2428 in DataObject.php: if ((phpversion() != '4.3.2-RC1') && (version_compare( phpversion(), "4.3.1") > 0)) { overload('DB_DataObject'); $GLOBALS['_DB_DATAOBJECT']['OVERLOADED'] = true; } I am trying to port my app to run in PHP 5 and hopefully it will still run in PHP 4... Best, David
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.general (#13811) next »