note 126909 added to function.unset
| From: | ray dot paseursometimesusesgmail at main dot php dot net | Date: | Tue, 08 Mar 2022 20:55:11 +0000 |
| Subject: | note 126909 added to function.unset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217700@lists.php.net to get a copy of this message | ||
Perhaps because it is a language construct and not a function, if you try to use the error
suppression operator ...
@unset($var);
... you get this: Parse error: syntax error, unexpected 'unset' (T_UNSET) ...
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 98.169.37.187)
----
Manual Page -- https://php.net/manual/en/function.unset.php
Edit -- https://main.php.net/note/edit/126909
Del: integrated -- https://main.php.net/note/delete/126909/integrated
Del: useless -- https://main.php.net/note/delete/126909/useless
Del: bad code -- https://main.php.net/note/delete/126909/bad+code
Del: spam -- https://main.php.net/note/delete/126909/spam
Del: non-english -- https://main.php.net/note/delete/126909/non-english
Del: in docs -- https://main.php.net/note/delete/126909/in+docs
Del: other reasons-- https://main.php.net/note/delete/126909
Reject -- https://main.php.net/note/reject/126909
Search -- https://main.php.net/manage/user-notes.php