FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=19212&edit=1

ID: 19212
Updated by: alec@alec.pl
Reported By: maximilian dot schmitz at qmarketing dot de
Summary: Assigning the return value of new by reference is
deprecated
-Status: Open
+Status: Feedback
Type: Bug
Package: MDB2
Operating System: Linux 2.6.32-5-amd64
Package Version: 2.5.0b3
PHP Version: 5.3.3
Roadmap Versions:
New Comment:

-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.




Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 19, '12 at 7:58a
activeJan 19, '12 at 7:58a
posts1
users1
websitepear.php.net

1 user in discussion

Alec: 1 post

People

Translate

site design / logo © 2021 Grokbase