3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function byref_function(&$a, &$b) { } $array = array(1, 2); call_user_func_array(byref_function, $array);
Output for hhvm-3.10.0 - 3.12.0, 7.1.0
Notice: Use of undefined constant byref_function - assumed 'byref_function' in /in/KoRsd on line 9 Warning: Parameter 1 to byref_function() expected to be a reference, value given in /in/KoRsd on line 9 Warning: Parameter 2 to byref_function() expected to be a reference, value given in /in/KoRsd on line 9
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.0.14
Notice: Use of undefined constant byref_function - assumed 'byref_function' in /in/KoRsd on line 9 Warning: Parameter 1 to byref_function() expected to be a reference, value given in /in/KoRsd on line 9
Output for 4.3.0 - 5.2.17
Notice: Use of undefined constant byref_function - assumed 'byref_function' in /in/KoRsd on line 9