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:[EMAIL PROTECTED]
Sent: Friday, 10 October 2003 3:57 PM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to