1--TEST-- 2Test ob_end_flush() function : basic functionality 3--FILE-- 4<?php 5echo "*** Testing ob_end_flush() : basic functionality ***\n"; 6 7// Zero arguments 8echo "\n-- Testing ob_end_flush() function with Zero arguments --\n"; 9var_dump(ob_end_flush()); 10 11ob_start(); 12var_dump(ob_end_flush()); 13 14ob_start(); 15echo "Hello\n"; 16var_dump(ob_end_flush()); 17 18var_dump(ob_end_flush()); 19 20echo "Done"; 21?> 22--EXPECTF-- 23*** Testing ob_end_flush() : basic functionality *** 24 25-- Testing ob_end_flush() function with Zero arguments -- 26 27Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on line %d 28bool(false) 29bool(true) 30Hello 31bool(true) 32 33Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on line %d 34bool(false) 35Done 36