3v4l.org

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