Edit report at https://bugs.php.net/bug.php?id=51914&edit=1
ID: 51914 Updated by: php-bugs@lists.php.net Reported by: i at walkinraven dot name Summary: __autoload Does not Work in error_handler function by some case -Status: Feedback +Status: No Feedback Type: Bug Package: Scripting Engine problem Operating System: Ubuntu 8.04 PHP Version: 5.2.13 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2011-05-23 14:24:21] tony2...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [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 https://bugs.php.net/bug.php?id=51914&edit=1