3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function add($valor){ return ++$valor; } $array = array(1,2,3); call_user_func_array("add",$array); foreach($array as $valor){ echo $valor . "\n"; }
based on Hvj7h
Output for 4.3.0 - 7.1.7
1 2 3