RE: [PHP] classes inside classes
| From: | Burhan Khalid | Date: | Wed, 09 Apr 2003 14:53:19 +0000 |
| Subject: | RE: [PHP] classes inside classes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143093@lists.php.net to get a copy of this message | ||
On Wed, 2003-04-09 at 09:42, Tim wrote:
> it's exactly what i was after, thanks.
no problem
> is this the "&" operator your talking about? i have no experience what
so ever with c++, but i think i get it. it refrences the
> address of the variable and not it's content?
>
The & is the "address of" operator, which is used to access a variable
by reference (its memory space).
The scope resolution operator is the ::
foo::bar()
It defines the scope of a function. So in my example, its saying to the
compiler we want bar() that is a member of foo (bar() which is in foo's
scope).
--
Burhan Khalid
phplist[at]meidomus[dot]com
Please add a reply-to: header
in your messages that points
to the mailing list address
so that all mail is properly
archived and viewed.