3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a(){ echo $a; var_dump(func_get_args(4)); } a(5, 7);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: a in /in/OMcP8 on line 4 array(2) { [0]=> int(5) [1]=> int(7) }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/OMcP8 on line 4 array(2) { [0]=> int(5) [1]=> int(7) }