note 80211 deleted from language.variables.scope by nlopess
| From: | nlopess@php.net | Date: | Fri, 04 Jan 2008 14:51:55 +0000 |
| Subject: | note 80211 deleted from language.variables.scope by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134774@lists.php.net to get a copy of this message | ||
Note Submitter: Christian
----
####################
#
somefunction(){
global $var;
}
is the same as:
somefunction(& $a) {
}
#
####################
I feel the urge to be a "smart ass" here, sorry... =)
Beginners might not clearly see the analogy.
This is what the previous poster probably meant:
####################
#
somefunction(){
global $var;
}
is the same as:
somefunction(& $var) {
}
#
####################