3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1,2,3]; $z=[4, ...$a]; var_dump($z);
based on e6vsX
Output for 5.6.38 - 7.3.0rc3
Parse error: syntax error, unexpected '...' (T_ELLIPSIS), expecting ']' in /in/bgqv6 on line 4
Process exited with code 255.