3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1009.1; for($a = .5; $a < 20; $a = $a + 0.5){ echo $a . " = " . number_format(round($a,-1)) . " <br> " ; }
Output for git.master, git.master_jit, rfc.property-hooks
0.5 = 0 <br> 1 = 0 <br> 1.5 = 0 <br> 2 = 0 <br> 2.5 = 0 <br> 3 = 0 <br> 3.5 = 0 <br> 4 = 0 <br> 4.5 = 0 <br> 5 = 10 <br> 5.5 = 10 <br> 6 = 10 <br> 6.5 = 10 <br> 7 = 10 <br> 7.5 = 10 <br> 8 = 10 <br> 8.5 = 10 <br> 9 = 10 <br> 9.5 = 10 <br> 10 = 10 <br> 10.5 = 10 <br> 11 = 10 <br> 11.5 = 10 <br> 12 = 10 <br> 12.5 = 10 <br> 13 = 10 <br> 13.5 = 10 <br> 14 = 10 <br> 14.5 = 10 <br> 15 = 20 <br> 15.5 = 20 <br> 16 = 20 <br> 16.5 = 20 <br> 17 = 20 <br> 17.5 = 20 <br> 18 = 20 <br> 18.5 = 20 <br> 19 = 20 <br> 19.5 = 20 <br>

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:
38.8 ms | 402 KiB | 8 Q