php-src/Zend/tests/errmsg_008.phpt
2018-10-14 12:07:20 -03: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