--- embedaddon/php/tests/output/ob_start_basic_unerasable_003.phpt 2012/02/21 23:48:06 1.1.1.1 +++ embedaddon/php/tests/output/ob_start_basic_unerasable_003.phpt 2012/05/29 12:34:34 1.1.1.2 @@ -10,12 +10,13 @@ function callback($string) { ob_start('callback', 0, false); -echo "This call will fail to obtain the content, since it is also requesting a clean:\n"; +echo "This call will obtain the content, but will not clean the buffer."; $str = ob_get_clean(); var_dump($str); ?> --EXPECTF-- -[callback:1]This call will fail to obtain the content, since it is also requesting a clean: +[callback:1]This call will obtain the content, but will not clean the buffer. +Notice: ob_get_clean(): failed to discard buffer of callback (0) in %s on line 11 -Notice: ob_get_clean(): failed to delete buffer callback in %s on line 11 -bool(false) +Notice: ob_get_clean(): failed to delete buffer of callback (0) in %s on line 11 +string(65) "This call will obtain the content, but will not clean the buffer." \ No newline at end of file