summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_007.phpt
blob: 1ac296695ddf7fbd21c12591c1a63ebba85997d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
errmsg: can't use [] for reading - 2
--FILE--
<?php

$a = array();
isset($a[]);

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Cannot use [] for reading in %s on line %d