xref: /php-src/Zend/tests/errmsg/errmsg_006.phpt (revision 275f63e7)
1--TEST--
2errmsg: can't use [] for reading
3--FILE--
4<?php
5
6$a = array();
7$b = $a[];
8
9echo "Done\n";
10?>
11--EXPECTF--
12Fatal error: Cannot use [] for reading in %s on line %d
13