3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); for ($i = 0; $i<10; $i++){ echo "<br> Line to show.\n"; ob_start(); ob_flush(); flush(); } var_dump(ob_get_status(true)); echo "Done."; ob_end_flush();
Output for git.master, git.master_jit, rfc.property-hooks
<br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. <br> Line to show. array(11) { [0]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(112) ["level"]=> int(0) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [1]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(1) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [2]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(2) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [3]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(3) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [4]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(4) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [5]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(5) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [6]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(6) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [7]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(7) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [8]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(8) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [9]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(9) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(19) } [10]=> array(7) { ["name"]=> string(22) "default output handler" ["type"]=> int(0) ["flags"]=> int(20592) ["level"]=> int(10) ["chunk_size"]=> int(0) ["buffer_size"]=> int(16384) ["buffer_used"]=> int(0) } } Done.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
33.73 ms | 409 KiB | 8 Q