Bug #51914 [Opn->Fbk]: __autoload Does not Work in error_handler function by some case
| From: | tony2001@php.net | Date: | Mon, 23 May 2011 12:24:22 +0000 |
| Subject: | Bug #51914 [Opn->Fbk]: __autoload Does not Work in error_handler function by some case | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-160910@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51914&edit=1
ID: 51914
Updated by: tony2001@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