3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $header = 0; $hitungLoopingObat= 9; do{ $remainder = ($i+1) % 5; $head = ($remainder+$i) % 5; if($remainder == 1) echo "Header " .$header++. "\n"; echo "Obat Ke " . $remainder . "\n"; if( $remainder == 0) { echo "new line \n"; } $i++; $header++; } while($i <= $hitungLoopingObat); if($remainder > 0){ $loncat = (5 - $remainder)+1; for($j=0; $j<$loncat; $j++) { echo "Sisa New Line " .$loncat. "\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
Header 0 Obat Ke 1 Obat Ke 2 Obat Ke 3 Obat Ke 4 Obat Ke 0 new line Header 6 Obat Ke 1 Obat Ke 2 Obat Ke 3 Obat Ke 4 Obat Ke 0 new line

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:
53.68 ms | 401 KiB | 8 Q