3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo($a){ var_dump(func_get_arg(2)); } foo(2, 3); echo "\n"; ?>
based on rDFGq
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Warning: func_get_arg(): Argument 2 not passed to function in /in/vjcbp on line 3 bool(false)
Output for hhvm-3.10.0

Process exited with code 153.