note 17700 deleted from function.unset by sniper
| From: | sniper@php.net | Date: | Mon, 13 Oct 2003 03:19:35 +0000 |
| Subject: | note 17700 deleted from function.unset by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58494@lists.php.net to get a copy of this message | ||
Note Submitter: radu.rendec@ines.ro
----
In PHP4 unset() gives no warning if you try to delete a reference that does not exist, even if the
error reporting mask is set to E_ALL (see error_reporting() for details). So, the example below
produces no warning even if $foo was not set.
<?
error_reporting(E_ALL);
unset($foo);
?>