php-src/Zend/tests/list_008.phpt
2016-05-20 01:51:05 +02:00

11 lines
165 B
PHP

--TEST--
Assignment to invalid list() value
--FILE--
<?php
[42] = [1];
?>
--EXPECTF--
Fatal error: Assignments can only happen to writable values in %s on line %d