From 825b7f895a79daadd2368d7eb8ecd10bd9ee6214 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 23 Dec 2015 08:13:13 -0800 Subject: [PATCH] Update NEWS & Fixed test --- NEWS | 2 ++ ext/spl/tests/bug71204.phpt | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.40.0