Diff for /embedaddon/php/tests/output/ob_start_basic_unerasable_004.phpt between versions 1.1.1.1 and 1.1.1.2

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 11Notice: 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."
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>