Cast to unset
| From: | Robert Enyedi | Date: | Tue, 27 Feb 2007 09:36:02 +0000 |
| Subject: | Cast to unset | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-249482@lists.php.net to get a copy of this message | ||
In the PHP grammar I encountered the feature of casting to unset, e.g. (unset)$a. I did not manage to find any specific documentation on this, only people wandering what it might do (http://blog.thinkphp.de/archives/33-Casted-fun..html).
So what exactly does cast to unset do?
Thanks,
Robert