ID: 48023 Updated by: col...@php.net Reported By: bugs dot php dot net at moesen dot nu -Status: Verified +Status: Assigned Bug Type: SPL related Operating System: Linux 2.6 PHP Version: 5.3CVS-2009-04-20 -Assigned To: +Assigned To: colder
Previous Comments: ------------------------------------------------------------------------ [2009-04-20 09:06:29] bugs dot php dot net at moesen dot nu $ ./php -r 'spl_autoload_register(function () { }); new Foo();' Segmentation fault $ ./php -r 'spl_autoload_register($x = function () { }); new Foo();' Fatal error: Class 'Foo' not found in Command line code on line 1 $ ./php --version PHP 5.3.0RC2-dev (cli) (built: Apr 20 2009 11:04:24) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies ------------------------------------------------------------------------ [2009-04-20 08:20:44] paj...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-04-20 08:18:32] bugs dot php dot net at moesen dot nu Description: ------------ Bug #46204 was incorrectly marked as BOGUS. Please reopen it. Reproduce code: --------------- Segfaults: spl_autoload_register($x = function () { }); Does not segfault: spl_autoload_register(function () { }); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48023&edit=1