File size: 212 Bytes
1e94262
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Spread operator is not supported in destructuring assignments
--FILE--
<?php

[$head, ...$tail] = [1, 2, 3];

?>
--EXPECTF--
Fatal error: Spread operator is not supported in assignments in %s on line %d