what does "->" mean
Posted: Thu Nov 26, 2009 9:16 am
Hi,
I am new to PHP and am trying my hands on Object Oriented PHP. I need a little help on the symbol ->
I know how to use -> symbol. But I have seen some typical examples of it which I dont understand. Please check the following example and somebody tell me what actually it all means and what class structure it is used for:
Please tell me the meaning of the multiple -> symbols in a single statement. I hope it is not a silly question. 
I am new to PHP and am trying my hands on Object Oriented PHP. I need a little help on the symbol ->
I know how to use -> symbol. But I have seen some typical examples of it which I dont understand. Please check the following example and somebody tell me what actually it all means and what class structure it is used for:
Code: Select all
Example::instance()->foo()->bar()->get()->something();