3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function update($firstname = null, $surname = null, $othernames = null, $userid = null, $gender = null, $email = null, $phone = null, $date_joined = null) { foreach (func_get_args() as $val) { var_dump($val); } } update('chi', 'bu', 'uzo', 'chi', 'ike', 'to', 'lu', 'pe');
based on jDnCH
Output for 5.3.19 - 7.3.0rc4
string(3) "chi" string(2) "bu" string(3) "uzo" string(3) "chi" string(3) "ike" string(2) "to" string(2) "lu" string(2) "pe"