com php-src: Update NEWS & Fixed test: NEWS ext/spl/tests/bug71204.phpt
| From: | Xinchen Hui | Date: | Wed, 23 Dec 2015 16:13:13 +0000 |
| Subject: | com php-src: Update NEWS & Fixed test: NEWS ext/spl/tests/bug71204.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90421@lists.php.net to get a copy of this message | ||
Commit: 825b7f895a79daadd2368d7eb8ecd10bd9ee6214
Author: Xinchen Hui <laruence@gmail.com> Wed, 23 Dec 2015 08:13:13 -0800
Parents: 8692a995518549102f2d8f629a736e1aacc2f7b9
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=825b7f895a79daadd2368d7eb8ecd10bd9ee6214
Log:
Update NEWS & Fixed test
Changed paths:
M NEWS
M ext/spl/tests/bug71204.phpt
Diff:
diff --git a/NEWS b/NEWS
index 50a6bbf..e871258 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 01a9f3b..64fa13b 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