3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i <= 62; $i += 6) { $param1 = ($i+6) - 6; $param2 = $param1 + 6; if($param2 >= 60) { $param2 = ($param1 + 6) - 6; } echo "substr(".$param1.",".$param2.")<br>"; }
Output for git.master, git.master_jit, rfc.property-hooks
substr(0,6)<br>substr(6,12)<br>substr(12,18)<br>substr(18,24)<br>substr(24,30)<br>substr(30,36)<br>substr(36,42)<br>substr(42,48)<br>substr(48,54)<br>substr(54,54)<br>substr(60,60)<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:
48.56 ms | 401 KiB | 8 Q