3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function testRenz($x) { $x++; var_dump(func_get_args(0)); var_dump(func_get_args(1)); } testRenz('uno', 'due', 'tre');
based on 9I3UX
Output for 7.0.0 - 7.2.0
array(3) { [0]=> string(3) "unp" [1]=> string(3) "due" [2]=> string(3) "tre" } array(3) { [0]=> string(3) "unp" [1]=> string(3) "due" [2]=> string(3) "tre" }
Output for 5.3.18 - 5.6.28
array(3) { [0]=> string(3) "uno" [1]=> string(3) "due" [2]=> string(3) "tre" } array(3) { [0]=> string(3) "uno" [1]=> string(3) "due" [2]=> string(3) "tre" }