3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $o=array(array(1,2,3),array('4',6,8),array(10,11)); $r=array_splice($o,1); print_r($r);
Output for 4.3.0 - 7.2.0
Array ( [0] => Array ( [0] => 4 [1] => 6 [2] => 8 ) [1] => Array ( [0] => 10 [1] => 11 ) )