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>'; ?>

preferences:
55.35 ms | 405 KiB | 5 Q