3v4l.org

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

preferences:
36.73 ms | 402 KiB | 5 Q