mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
e9068cefb4
Now also includes list()s with just commas in it.
11 lines
157 B
PHP
11 lines
157 B
PHP
--TEST--
|
|
Empty list() assignments are not allowed
|
|
--FILE--
|
|
<?php
|
|
|
|
list(,,,,,,,,,,) = [];
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use empty list in %s on line %d
|