1--TEST-- 2Test ob_implicit_flush() function : ensure implicit flushing does not apply to user buffers. 3--FILE-- 4<?php 5echo "*** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. ***\n"; 6 7// Start a user buffer 8ob_start(); 9// Switch on implicit flushing. 10ob_implicit_flush(1); 11 12echo "This is being written to a user buffer.\n"; 13echo "Note that even though implicit flushing is on, you should never see this,\n"; 14echo "because implicit flushing affects only the top level buffer, not user buffers.\n"; 15 16// Wipe the user buffer. Nothing should have been flushed. 17ob_end_clean(); 18 19echo "Done"; 20?> 21--EXPECT-- 22*** Testing ob_implicit_flush() : ensure implicit flushing does not apply to user buffers. *** 23Done 24