From: Xinchen Hui Date: Wed, 23 Dec 2015 16:13:13 +0000 (-0800) Subject: Update NEWS & Fixed test X-Git-Tag: php-7.0.3RC1~108^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=825b7f895a79daadd2368d7eb8ecd10bd9ee6214;p=php Update NEWS & Fixed test --- diff --git a/NEWS b/NEWS index 50a6bbf1e0..e871258083 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,8 @@ PHP NEWS . Added support for new HTTP 451 code. (Julien) - SPL: + . Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading). + (Laruence) . Fixed bug #71202 (Autoload function registered by another not activated immediately). (Laruence) diff --git a/ext/spl/tests/bug71204.phpt b/ext/spl/tests/bug71204.phpt index 01a9f3bcaf..64fa13bfb1 100644 --- a/ext/spl/tests/bug71204.phpt +++ b/ext/spl/tests/bug71204.phpt @@ -13,4 +13,7 @@ spl_autoload_register(function ($name) { new A(); ?> --EXPECTF-- -Fatal error: Cannot destroy active lambda function in %sbug71204.php on line %d +Fatal error: Uncaught Error: Class 'A' not found in %sbug71204.php:%d +Stack trace: +#0 {main} + thrown in %sbug71204.php on line %d