Bug #19212 [Fbk->Dup]: Assigning the return value of new by reference is deprecated

From: Date: Wed, 24 Oct 2012 15:44:40 +0000
Subject: Bug #19212 [Fbk->Dup]: 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-9226@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19212&edit=1 ID: 19212 Updated by: danielc@analysisandsolutions.com Reported By: maximilian dot schmitz at qmarketing dot de Summary: Assigning the return value of new by reference is deprecated -Status: Feedback +Status: Duplicate Type: Bug Package: MDB2 Operating System: Linux 2.6.32-5-amd64 Package Version: 2.5.0b3 PHP Version: 5.3.3 -Assigned To: +Assigned To: danielc Roadmap Versions: New Comment: -Status: Feedback +Status: Duplicate -Assigned To: +Assigned To: danielc These kinds of things were fixed already and a new release, 2.5.0b4, is out. Marking "duplicate" so this doesn't show up in auto-generated change logs. Previous Comments: ------------------------------------------------------------------------ [2012-01-19 08:59:26] alec -Status: Open +Status: Feedback Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the SVN of the package. Please checking out the SVN repository of this package and upgrade svn checkout svn.php.net/repository/pear/packages/MDB2/trunk pear upgrade package2.xml or pear upgrade package.xml If you are able to reproduce the bug with the latest SVN, please change the status back to "Open". Again, thank you for your continued support of PEAR. ------------------------------------------------------------------------ [2012-01-10 13:58:53] maximilianb Description: ------------ If I call a new MDB2 object I get the php error message 'Assigning the return value of new by reference is deprecated' in /usr/share/php/MDB2.php on line 393. I use an ExceptionErrorHandler so this issue causes my whole project not work. Test script: --------------- <?php $db = new MDB2(); ?> Expected result: ---------------- $db should contain a MDB2 database object. Actual result: -------------- Actual I get an Fatal Error - the ErrorException wouldn't be catched. ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19212&edit=1

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