3v4l.org

run code in 200+ PHP versions simultaneously
<?php function issueWithArgs($x) { $x = 33; return func_get_args(); } var_dump(issueWithArgs(42));
Output for 7.0.0 - 7.4.0
array(1) { [0]=> int(33) }
Output for 4.3.0 - 5.6.28
array(1) { [0]=> int(42) }