3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo(&$a) {echo "$a\n";} call_user_func_array('foo', array('bar'));
Output for 7.1.0 - 7.2.0
Warning: Parameter 1 to foo() expected to be a reference, value given in /in/RvsbN on line 3 bar
Output for 7.0.0 - 7.0.20
Warning: Parameter 1 to foo() expected to be a reference, value given in /in/RvsbN on line 3
Output for 4.3.0 - 5.6.28
bar