note 117908 added to language.references.whatdo
| From: | AZ | Date: | Sun, 30 Aug 2015 17:21:20 +0000 |
| Subject: | note 117908 added to language.references.whatdo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203520@lists.php.net to get a copy of this message | ||
From Example#2: Alternate Way to reflect changes in global scope.
Example#2 used $GLOBALS["var2"] =& $var1; to make change visible in global scope.
But we can also do following to access $var2 in global scope:
$var2 = $var1;
In this way $var2 will be accessable in global scope.
----
Server IP: 72.52.91.14
Probable Submitter: 119.63.142.30
----
Manual Page -- http://php.net/manual/en/language.references.whatdo.php
Edit -- https://master.php.net/note/edit/117908
Del: integrated -- https://master.php.net/note/delete/117908/integrated
Del: useless -- https://master.php.net/note/delete/117908/useless
Del: bad code -- https://master.php.net/note/delete/117908/bad+code
Del: spam -- https://master.php.net/note/delete/117908/spam
Del: non-english -- https://master.php.net/note/delete/117908/non-english
Del: in docs -- https://master.php.net/note/delete/117908/in+docs
Del: other reasons-- https://master.php.net/note/delete/117908
Reject -- https://master.php.net/note/reject/117908
Search -- https://master.php.net/manage/user-notes.php