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

ID: 17396
Updated by: [email protected]
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

Description:
------------
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
'PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);'

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
deprecated'

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

Search Discussions

  • I at May 14, 2010 at 1:55 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17396&edit=1

    ID: 17396
    Comment by: [email protected]
    Reported By: i at walkinraven dot name
    Summary: Error: PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);
    Status: Bogus
    Type: Bug
    Package: PEAR
    Operating System: Ubuntu 8.04
    Package Version: Unknown
    PHP Version: 5.2.4
    Roadmap Versions:
    New Comment:

    @dufuz

    I'm very sorry for both Bug #17396 and Bug #17398 are submitted by me.
    It caused by:

    1. I have submitted one, but the system told me that my email has not
    been verified.
    2. So I went to register an account and thought the report was not
    submitted successfully.
    3. And I submit a same one with the newly registered account.

    I'm terrible sorry for the mistake, and could any administer
    delete/close one for the two just exactly the same. Thank you for
    replying.


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

    [2010-05-13 22:34:40] dufuz

    -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

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

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

    Description:
    ------------
    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
    'PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);'

    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
    deprecated'

    ------------------------------------------------------------------------
  • Helgith at May 14, 2010 at 2:11 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17396&edit=1

    ID: 17396
    Updated by: [email protected]
    Reported By: i at walkinraven dot name
    Summary: Error: PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);
    Status: Bogus
    Type: Bug
    Package: PEAR
    Operating System: Ubuntu 8.04
    Package Version: Unknown
    PHP Version: 5.2.4
    Roadmap Versions:
    New Comment:

    No need to worry, it happens from time to time :)
    The message was automated.


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

    [2010-05-14 02:49:15] walkinraven

    @dufuz

    I'm very sorry for both Bug #17396 and Bug #17398 are submitted by me.
    It caused by:

    1. I have submitted one, but the system told me that my email has not
    been verified.
    2. So I went to register an account and thought the report was not
    submitted successfully.
    3. And I submit a same one with the newly registered account.

    I'm terrible sorry for the mistake, and could any administer
    delete/close one for the two just exactly the same. Thank you for
    replying.

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

    [2010-05-13 22:34:40] dufuz

    -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

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

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

    Description:
    ------------
    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
    'PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);'

    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
    deprecated'

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 13, '10 at 9:41p
activeMay 14, '10 at 2:11a
posts3
users2
websitepear.php.net

2 users in discussion

Helgith: 2 posts I: 1 post

People

Translate

site design / logo © 2023 Grokbase