3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $columns = array( array('id' => 'ID'), array('text' => 'Text'), array('image' => 'Bild'), ); array_splice($columns, 2, 0, array(array('edition' => 'Heft-Ausgabe'))); print_r($columns);
Output for 4.3.0 - 7.1.0
Array ( [0] => Array ( [id] => ID ) [1] => Array ( [text] => Text ) [2] => Array ( [edition] => Heft-Ausgabe ) [3] => Array ( [image] => Bild ) )