Re: (((Using DB_DataObject with PHP5)))

From: Date: Mon, 17 Jul 2006 20:59:29 +0000
Subject: Re: (((Using DB_DataObject with PHP5)))
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24672@lists.php.net to get a copy of this message
Ed Greenberg wrote:
Using DB_DataObject with PHP5, I get tons of warnings and errors that didn't happen with PHP4. Some samples: Debug Strict (PHP 5): \usr\share\pear\PEAR.php line 563 - Assigning the return value of new by reference is deprecated Debug Strict (PHP 5): vmware-fc5:\var\www\html\ata\include\pap2.php line 198 - Non-static method PEAR::getStaticProperty() should not be called statically Debug Strict (PHP 5): \usr\share\pear\DB.php line 590 - is_a(): Deprecated. Please use the instanceof operator Do we just ignore these, or are there other pear packages for PHP5? Or am I missing something.
You need to disable E_STRICT error reporting in your php.ini if you want to use PEAR code that is PHP4 compatible. regards, Lukas

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