Edit report at https://bugs.php.net/bug.php?id=61541&edit=1
ID: 61541
Comment by: grzegorz129 at gmail dot com
Reported by: grzegorz129 at gmail dot com
Summary: Segfault using ob_*
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: Linux/debian lenny
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Test script can be even simplier:
<?php
ob_start('foo');
function foo() { ob_end_clean(); }
?>
Previous Comments:
------------------------------------------------------------------------
[2012-03-28 14:51:09] [email protected]
Changed summary from "Memory leak during using ob_*"
------------------------------------------------------------------------
[2012-03-28 11:48:46] grzegorz129 at gmail dot com
Description:
------------
I've trying to catch E_PARSE but trying to run sample code results only in
segfault.
Test script:
---------------
<?php
ob_start('phpErrorHandler');
function phpErrorHandler($output) {
ob_end_clean();
echo "abc";
die("def");
}
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61541&edit=1