Re: (((Using DB_DataObject with PHP5)))
| From: | Ed Greenberg | Date: | Mon, 17 Jul 2006 21:36:38 +0000 |
| Subject: | Re: (((Using DB_DataObject with PHP5))) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24673@lists.php.net to get a copy of this message | ||
Yes but DB_DataObject is an object oriented indirection package.
The other poster reminds me to turn off strict, which resolves the problem.
</edg>
Kilbride, James P. wrote:
I'm not as familiar with DB_DataObject but if it's like DB does MDB2 provide the same functionality? MDB2 replaced DB as the Database package. James Kilbride-----Original Message----- From: Ed Greenberg [mailto:edg@greenberg.org] Sent: Monday, July 17, 2006 4:05 PM To: pear-general@lists.php.net Subject: [PEAR] (((Using DB_DataObject with PHP5))) 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. </edg> -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php