Bug #17300 [Opn->Csd]: Assigning the return value of new by reference is deprecated

From: Date: Thu, 10 Jun 2010 10:58:12 +0000
Subject: Bug #17300 [Opn->Csd]: Assigning the return value of new by reference is deprecated
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3920@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17300&edit=1 ID: 17300 Updated by: alec@alec.pl Reported By: Kromkel at yandex dot ru Summary: Assigning the return value of new by reference is deprecated -Status: Open +Status: Closed Type: Bug Package: MDB2 Operating System: Windows XP Professional Service Package Version: 2.5.0b2 PHP Version: 5.3.2 -Assigned To: +Assigned To: alec Roadmap Versions: New Comment: -Status: Open +Status: Closed -Assigned To: +Assigned To: alec This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2010-04-13 14:09:43] babbomari If you use php 5.3 or greater, you can think that this is a Bug, but this is a choice of programmer for compability problem with php 5.2. I also like the full compability with php 5.3 strict rules but it needs the rewrite of code ....... if someone has enough time...... I suggest to you a fast non definitive solution! Disable the warning error_reporting(0); disable all warning so develep with all warning then when only mdb2 warning exist disable all warning. This solution works in AMFPHP1.9.2 + PHP5.3.0 + MDB2 2.5.0b2 ------------------------------------------------------------------------ [2010-04-09 11:02:48] kromkel Description: ------------ Assigning the return value of new by reference is deprecated [on line 393 of "D:\PHP\PEAR\MDB2.php"] Assigning the return value of new by reference is deprecated [on line 2647 of "D:\PHP\PEAR\MDB2.php"] ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17300&edit=1

« previous php.pear.bugs (#3920) next »