Bug #67436 [NEW]: Autoloader isn`t called if user defined error handler is present
| From: | wolkerstorfer at xortex dot at | Date: | Fri, 13 Jun 2014 10:13:45 +0000 |
| Subject: | Bug #67436 [NEW]: Autoloader isn`t called if user defined error handler is present | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186172@lists.php.net to get a copy of this message | ||
From: wolkerstorfer at xortex dot at
Operating system: Debian Wheezy
PHP version: 5.5.13
Package: Unknown/Other Function
Bug Type: Bug
Bug description:Autoloader isn`t called if user defined error handler is present
Description:
------------
If a user definded error handler is present the autoloader registered
with spl_register_autoloader isn`t called in certain cases. This bug was
not present in PHP 5.3 but can be reproduced in all Versions of 5.4 and
5.5
Test script:
---------------
https://docs.google.com/file/d/0ByiEkxk4BDg0cUE2ZzRuaXNRSjA/edit
Expected result:
----------------
To reproduce the bug please extract the ZIP file from the provided URL
and run test.php. The autoloader is expected to require the other files
(a.php, b.php, c.php) as needed.
Actual result:
--------------
"Fatal error: Class 'c' not found" occurs. If the custom error handler
is removed the autoloader works as expected.
--
Edit bug report at https://bugs.php.net/bug.php?id=67436&edit=1
--