3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array_merge([1,2], [3,4]); sort($array); var_dump($array);

preferences:
51.29 ms | 409 KiB | 5 Q