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 .= - 6; } echo "substr(".$param1.",".$param2.")<br>"; }
Output for git.master, git.master_jit, rfc.property-hooks
substr(0,6-6)<br>substr(6,12-6)<br>substr(12,18-6)<br>substr(18,24-6)<br>substr(24,30-6)<br>substr(30,36-6)<br>substr(36,42-6)<br>substr(42,48-6)<br>substr(48,54-6)<br>substr(54,60-6)<br>substr(60,66)<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:
44.93 ms | 401 KiB | 8 Q