php-src/Zend/tests/errmsg_008.phpt
2018-10-14 19:45:12 +02:00

13 lines
176 B
PHP

--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