3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr[0]="page0"; $arr[1]="page1"; $arr[2]="page2"; $arr[3]="goal"; $arr[4]="page4"; echo implode(" ---> ", array_slice($arr, 0, array_search("goal",$arr)+1));
Output for git.master, git.master_jit, rfc.property-hooks
page0 ---> page1 ---> page2 ---> goal

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:
24.31 ms | 405 KiB | 5 Q