3v4l.org

run code in 300+ PHP versions simultaneously
<?php function x($a, $b) { $a = 4; printf("argv[0]:%d a:%d\n", func_get_arg(0), $a); } x(1,2);

preferences:
29.95 ms | 402 KiB | 5 Q