3v4l.org

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