3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(10, 11, 13); print_r(count($arr)); array_splice($arr, 2, 1); print_r($arr);
based on tTfvk
Output for 4.3.0 - 7.1.0
3Array ( [0] => 10 [1] => 11 )