diff options
author | Michael Wallner <mike@php.net> | 2015-02-18 13:58:31 +0100 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2015-02-18 13:58:31 +0100 |
commit | 225af964c0324b2bf14e44c0fad77198b97cc06c (patch) | |
tree | f53bd4d9b223270b9d05c6ab0aaf06bf8ea2c3f6 /tests | |
parent | 73c2e9153a7bee878c4d57d3dbc439edcd717ce9 (diff) | |
download | php-git-225af964c0324b2bf14e44c0fad77198b97cc06c.tar.gz |
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 |