summaryrefslogtreecommitdiff
path: root/Zend/tests/list_008.phpt
blob: de8160c77ec382c7cc76280b4398384a373f1b4a (plain)
1
2
3
4
5
6
7
8
9
10
--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