3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = array( '1','2','3','4','5' ); foreach ($o as $org) { echo $org; } $test = "$"; $t = array_splice($o,3,0,"$test"); foreach($t as $s) { echo $s; }
based on Od1lA
Output for 4.3.0 - 7.1.0
12345