3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { $x = array_merge(array(1,2,3), (array) func_get_arg(0)); echo print_r($x, 1), "\n"; } test(); test(5);

preferences:
49.67 ms | 402 KiB | 5 Q