DB_DataObject overload() fatal error... using PHP 5
| From: | David Dahl | Date: | Fri, 23 Jul 2004 00:52:18 +0000 |
| Subject: | DB_DataObject overload() fatal error... using PHP 5 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13809@lists.php.net to get a copy of this message | ||
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