Edit report at http://pear.php.net/bugs/bug.php?id=17396&edit=1

ID: 17396
Updated by: helgith@gmail.com
Reported By: i at walkinraven dot name
Summary: Error: PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);
-Status: Open
+Status: Bogus
Type: Bug
Package: PEAR
Operating System: Ubuntu 8.04
Package Version: Unknown
PHP Version: 5.2.4
Roadmap Versions:
New Comment:

-Status: Open
+Status: Bogus
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PEAR.

This report is a duplicate of Bug #17398

Previous Comments:

[2010-05-13 17:35:29] walkinraven

You will get error message '', if you code as below:

1.Define two user-defined error handler functions for
'set_error_handler' and 'set_exception_handler', globally;

2.Define a class for initializing the PHP environment, named
'PHP_Initializer' for example;

3.In ' PHP_Initializer::__construct', call 'set_error_handler',
'set_exception_handler' and

4.You will get error message: 'Assigning the return value of new by
reference is deprecated'

Test script:
URL ( 35 lines ): http://docs.google.com/View?id=dgt79v8r_119cf9hrvdj

Expected result:
I don't think an error should be produced with my code.

Actual result:
Error message: 'Assigning the return value of new by reference is


Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppear-bugs @
postedMay 13, '10 at 9:41p
activeMay 14, '10 at 2:11a

2 users in discussion

Helgith: 2 posts I: 1 post



site design / logo © 2022 Grokbase