3v4l.org

run code in 300+ PHP versions simultaneously
<?php $usernumber = 18; $myseries = range(0, 59, 5); foreach($myseries as $num) { echo $num.'<br />'; $check = round($usernumber/5) * 5; echo "<br>".$check; //if($usernumber is close to $num) { // echo 'Matching number is '.$num; //} }
Output for git.master, git.master_jit, rfc.property-hooks
0<br /><br>205<br /><br>2010<br /><br>2015<br /><br>2020<br /><br>2025<br /><br>2030<br /><br>2035<br /><br>2040<br /><br>2045<br /><br>2050<br /><br>2055<br /><br>20

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