3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Positive numbers: $a=substr("tag1,tag10,tag11,tag13,tag15,tag17,tag19,tag20,tag4,tag9,tag8,tag7,tag6,tag5,tag3,tag2,tag18,tag16,tag14,tag12",0,4); echo $a; echo preg_replace("/tag/","",substr("tag1,tag10,tag11,tag13,tag15,tag17,tag19,tag20,tag4,tag9,tag8,tag7,tag6,tag5,tag3,tag2,tag18",5)); ?>
Output for git.master, git.master_jit, rfc.property-hooks
tag110,11,13,15,17,19,20,4,9,8,7,6,5,3,2,18

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