3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function test(&$v) { $v = $v + $v; } $v = 8; call_user_func_array('test', array($v)); echo $v;
Output for 5.3.0 - 7.1.0
Warning: Parameter 1 to test() expected to be a reference, value given in /in/APQQg on line 9 8
Output for 4.3.0 - 5.2.17
8