3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a($a, $a) { $a = 'blaat'; var_dump(func_get_args()); } a('foo', 'bar');
Output for hhvm-3.10.0 - 3.12.0
array(2) { [0]=> string(3) "foo" [1]=> string(5) "blaat" }
Output for 4.3.0 - 5.6.28
array(2) { [0]=> string(3) "foo" [1]=> string(3) "bar" }