3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = [0=> 'zero', 3=>'three', 2=>'two']; print_r($test); $test = array_merge($test); print_r($test);

preferences:
59.02 ms | 402 KiB | 5 Q