|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-04-20 08:18 UTC] 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 () { }); PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
$ ./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