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

 ID:                 51914
 Updated by:         tony2...@php.net
 Reported by:        i at walkinraven dot name
 Summary:            __autoload Does not Work in error_handler function
                     by some case
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Ubuntu 8.04
 PHP Version:        5.2.13
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------
[2010-05-26 05:18:04] i at walkinraven dot name

Description:
------------
If your script does as below step, it will cause autoload function
halt:



1. You have set an user-defined error handler function.

2. A statement need autoload.

3. The __autoload function emit an error.

4. The user-defined error handler function need autoload.

Test script:
---------------
URI: http://docs.google.com/View?id=dgt79v8r_120cwxm5mrg

Expected result:
----------------
Should not emit any fatal error

Actual result:
--------------
Fatal error: Class 'Class_A' not found in /usr/share/php/PEAR.php on
line 569



Call Stack:

    0.0002      60296   1. {main}()
/home/winfred/workspace/Test/applications/Bugs/new/index.php:0

    0.0003      61216   2. __autoload()
/home/winfred/workspace/Test/applications/Bugs/new/index.php:0

    0.0012     176604   3. error_handler()
/home/winfred/workspace/Test/applications/Bugs/new/index.php:0






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



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51914&edit=1

Reply via email to