Re: What does -> mean?
| From: | murugesan | Date: | Thu, 14 Aug 2003 07:30:25 +0000 |
| Subject: | Re: What does -> mean? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159531@lists.php.net to get a copy of this message | ||
This some thing like C++ this pointer.
Actually $this refers to current class object pointer in C++.
> $this->vendor = $vendor;
It seems that you could have defined vendor in a class which should have a
field named vendor.
Got it ?
-murugesan
----- Original Message -----
From: "James Johnson" <james@smb-studios.com>
To: <php-general@lists.php.net>
Sent: Thursday, August 14, 2003 12:44 PM
Subject: [PHP] What does -> mean?
> Hello,
>
> I've searched through Zend and php.net and can't find the answer.
>
> In the following code:
>
> $this->vendor = $vendor;
>
> What does the -> mean or do?
>
> Thanks,
> James
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>