3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo($bar) { $bar = "new val"; var_dump(func_get_args());} foo("qwe");
Output for 7.0.0 - 7.1.0
array(1) { [0]=> string(7) "new val" }
Output for 4.3.0 - 5.6.28
array(1) { [0]=> string(3) "qwe" }