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