3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function doit() { for ($i = 1, $n = func_num_args(); $i < $n; ++$i) { var_dump(func_num_args($i)); } } doit(1,2,3);
Output for 4.3.0 - 7.1.0
int(3) int(3)