3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 1 => 'one', 2 => 'two', 3 => 'three', 'row' => 'four', 'newRow' => 'five', ); $reindexed_array = array_merge($array); var_dump($reindexed_array);

preferences:
55.65 ms | 402 KiB | 5 Q