3v4l.org

run code in 300+ PHP versions simultaneously
<?php function testFunction ($x, $y = null) { var_dump(func_get_args()); } testFunction(1);

preferences:
61.49 ms | 402 KiB | 5 Q