mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +08:00
12 lines
164 B
PHP
12 lines
164 B
PHP
--TEST--
|
|
Do not allow mixing [] and list()
|
|
--FILE--
|
|
<?php
|
|
|
|
list([$a]) = [[1]];
|
|
var_dump($a);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot mix [] and list() in %s on line %d
|