Re: What is "->" mean in php?

From: Date: Mon, 04 Mar 2002 10:47:32 +0000
Subject: Re: What is "->" mean in php?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87071@lists.php.net to get a copy of this message
If you have any Object Oriented Programming experience, then you may not had asked this. Its a operator to access methods, and variables inside a instance of a class , in which the variable before "->" is the instance of the class and the latter is a method or variable of that class. This is what I know, if you have any explanatory docs, pls let me know. On Mon, 4 Mar 2002, Jack wrote: > Dear all > There is one symbol in PHP that i always see is "->", could anyone pls tell > me what is this, and what does that do? > Here is the statement i saw could some pls explain what it means? > > if (!empty($row->usd_period) > > Thx a lot > Jack > jack@nedcor.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > <smk_bk@yahoo.com> ------------------------------------------------------------------- We must use time wisely and forever realize that the time is always ripe to do right." -- Nelson Mandela -------------------------------------------------------------------

« previous php.general (#87071) next »