3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a($a) { $a = 'waaa'; var_dump(func_get_args()); } a($a = 'blaaat!'); var_dump($a);
Output for 7.0.0 - 7.1.0
array(1) { [0]=> string(4) "waaa" } string(7) "blaaat!"
Output for 4.3.0 - 5.6.28
array(1) { [0]=> string(7) "blaaat!" } string(7) "blaaat!"