3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo(&$x) { ++$x; } $y = 42; call_user_func_array('foo', array(&$y)); var_dump($y);
Output for 5.3.7 - 7.1.0
int(43)