version 1.1.1.1, 2012/02/21 23:48:06
|
version 1.1.1.2, 2012/05/29 12:34:34
|
Line 10 function callback($string) {
|
Line 10 function callback($string) {
|
|
|
ob_start('callback', 0, false); |
ob_start('callback', 0, false); |
|
|
echo "This call will fail to flush and fail to obtain the content:\n"; | echo "This call will obtain the content, but will not flush the buffer."; |
$str = ob_get_flush(); |
$str = ob_get_flush(); |
var_dump($str); |
var_dump($str); |
?> |
?> |
--EXPECTF-- |
--EXPECTF-- |
[callback:1]This call will fail to flush and fail to obtain the content: | [callback:1]This call will obtain the content, but will not flush the buffer. |
| Notice: ob_get_flush(): failed to send buffer of callback (0) in %s on line 11 |
|
|
Notice: ob_get_flush(): failed to delete buffer callback in %s on line 11 | Notice: ob_get_flush(): failed to delete buffer of callback (0) in %s on line 11 |
bool(false) | string(65) "This call will obtain the content, but will not flush the buffer." |
|
|