3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a($a, $a) { echo $a; $a = 'blaat'; foreach(func_get_args() as $x) echo $x; } a('foo', 'bar');
Output for hhvm-3.10.0 - 3.12.0
barfooblaat
Output for 4.3.0 - 5.6.21
barfoobar