RE: [PHP] Maybe a silly question
| From: | Martin Towell | Date: | Fri, 10 Oct 2003 05:59:25 +0000 |
| Subject: | RE: [PHP] Maybe a silly question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165707@lists.php.net to get a copy of this message | ||
It's used on objects.
In the examples below, $test_url and $test_this are both properties of an
object ($test)
have a bit of a read of this: http://php.net/manual/en/language.oop.php
HAND
Martin
-----Original Message-----
From: Tom Ray [Lists] [mailto:lists@blazestudios.com]
Sent: Friday, 10 October 2003 3:57 PM
To: php-general@lists.php.net
Subject: [PHP] Maybe a silly question
I'm wondering if someone can explain something for me. I've never used
this before but have seen it used in numerous sets of coding.
What does the -> do? I see stuff like
$test=$test->test_url = "Something";
$test1=$test->test_this = "Something Else";
Is it some sort of array function? I'm just a little confused and have
been wondering for sometime.
TIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ Information from NOD32 1.518 (20030925) __________
This message was checked by NOD32 for Exchange e-mail monitor.
http://www.nod32.com