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

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

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