3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function plop(&$a, &$b) { return $a * $b; } $plop = call_user_func_array('plop', Array(1,2)); echo "plop is $plop";
Output for hhvm-3.10.0 - 3.12.0, 7.1.0
Warning: Parameter 1 to plop() expected to be a reference, value given in /in/pSmq3 on line 8 Warning: Parameter 2 to plop() expected to be a reference, value given in /in/pSmq3 on line 8 plop is 2
Output for 7.0.0 - 7.0.14
Warning: Parameter 1 to plop() expected to be a reference, value given in /in/pSmq3 on line 8 plop is
Output for 4.3.0 - 5.6.28
plop is 2