3v4l.org

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

Process exited with code 153.
Output for 4.3.0 - 5.6.28
works