diff options
author | Michael Wallner <mike@php.net> | 2015-02-18 13:59:32 +0100 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2015-02-18 13:59:32 +0100 |
commit | 0d2a2b98c9e88e63e6a3496d6dbf2cc479684427 (patch) | |
tree | f8143b332191b1bdd9fee06e5803752434969fa5 /tests | |
parent | f977a9f2be5a587dc0dbbd538b5b29396e5dd597 (diff) | |
parent | 225af964c0324b2bf14e44c0fad77198b97cc06c (diff) | |
download | php-git-0d2a2b98c9e88e63e6a3496d6dbf2cc479684427.tar.gz |
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fixed bug #65593 (Segfault when calling ob_start from output buffering callback)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/output/bug65593.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/output/bug65593.phpt b/tests/output/bug65593.phpt new file mode 100644 index 0000000000..336c73e03d --- /dev/null +++ b/tests/output/bug65593.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #65593 (ob_start(function(){ob_start();});) +--FILE-- +<?php +echo "Test\n"; + +ob_start(function(){ob_start();}); +?> +===DONE=== +--EXPECT-- +Test + +Fatal error: Cannot destroy active lambda function in /home/mike/src/php-5.5/tests/output/bug65593.php on line 4 |