php-src/Zend/tests/errmsg_008.phpt
2007-02-07 11:10:32 +00:00

13 lines
177 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