3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo(...$things) {var_dump($things);} foo([]); foo('ciao', 'a', 'tutti');
based on vfT0U
Output for 5.6.38 - 7.3.0rc3
array(1) { [0]=> array(0) { } } array(3) { [0]=> string(4) "ciao" [1]=> string(1) "a" [2]=> string(5) "tutti" }