blob: ebd883af73bd92e1e1645160b8b113b62ffef60a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
ob_start(): ensure even fatal error test is affected by output buffering.
--FILE--
<?php
function f() {
return "I have stolen your output";
}
ob_start('f');
cause_fatal_error(); // call undefined function
ob_end_flush();
echo "done (you shouldn't see this)";
?>
--EXPECTF--
I have stolen your output
|