Re: Maybe a silly question

From: Date: Fri, 10 Oct 2003 07:04:54 +0000
Subject: Re: Maybe a silly question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165712@lists.php.net to get a copy of this message
It's for classes. A site called http://www.php.net has some great documentation on it. $object->property (or function whatever the case may be) On Friday 10 October 2003 01:57, Tom Ray [Lists] wrote: > 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 -- Ryan Thompson rthomp@sympatico.ca http://osgw.sourceforge.net ============================== "A computer scientist is someone who fixes things that aren't broken" --Unknown

« previous php.general (#165712) next »