dis-bench / src /php /php-src /Zend /tests /errmsg /errmsg_008.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
176 Bytes
--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