Edit report at https://bugs.php.net/bug.php?id=71204&edit=1
ID: 71204
Updated by: [email protected]
Reported by: [email protected]
Summary: segfault if clean spl_autoload_funcs while
autoloading
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of [email protected]
Revision: http://git.php.net/?p=php-src.git;a=commit;h=620ccc9b1a0a593786a364af15d45fd797a6cf1f
Log: Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
Previous Comments:
------------------------------------------------------------------------
[2015-12-23 16:08:55] [email protected]
Description:
------------
none
Test script:
---------------
<?php
spl_autoload_register(function ($name) {
spl_autoload_unregister("spl_autoload_call");
});
spl_autoload_register(function ($name) {
});
new A();
?>
Expected result:
----------------
no crash
Actual result:
--------------
crash
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71204&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.