note 124832 added to language.variables.scope
| From: | Lucas@php.net | Date: | Wed, 18 Mar 2020 11:52:08 +0000 |
| Subject: | note 124832 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-214339@lists.php.net to get a copy of this message | ||
In response to tc underline at cmx TLD ch
âIf a globalized variable is unset() inside of a function, only the local variable is
destroyed. The variable in the calling environment will retain the same value as before unset() was
called.â
https://www.php.net/manual/en/function.unset
Goodbye!
----
Server IP: 45.112.84.4
Probable Submitter: 38.142.137.34 (proxied: 181.228.208.189)
----
Manual Page -- http://php.net/manual/en/language.variables.scope.php
Edit -- https://master.php.net/note/edit/124832
Del: integrated -- https://master.php.net/note/delete/124832/integrated
Del: useless -- https://master.php.net/note/delete/124832/useless
Del: bad code -- https://master.php.net/note/delete/124832/bad+code
Del: spam -- https://master.php.net/note/delete/124832/spam
Del: non-english -- https://master.php.net/note/delete/124832/non-english
Del: in docs -- https://master.php.net/note/delete/124832/in+docs
Del: other reasons-- https://master.php.net/note/delete/124832
Reject -- https://master.php.net/note/reject/124832
Search -- https://master.php.net/manage/user-notes.php