3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Level 1:Level 2:Level 3:Level 4:Level 5'; echo $str . '<br />'; $levels = array(); $levels = explode( ':', $str ); echo "Level:" . $levels[1]; echo '<pre>' . print_r( $levels , TRUE ) . '</pre>'; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Level 1:Level 2:Level 3:Level 4:Level 5<br />Level:Level 2<pre>Array ( [0] => Level 1 [1] => Level 2 [2] => Level 3 [3] => Level 4 [4] => Level 5 ) </pre>

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