Jump to content

Archived

This topic is now archived and is closed to further replies.

Demonic

what does -> mean in OOP :(

Recommended Posts

exactly what the topic title states can someone tell me how that works or what it means?

Share this post


Link to post
Share on other sites
it points to a variable or method (function) inside the object.  if you go to the code faq/snippets forum there is a list of commonly asked questions. that is one of them. it goes into more detail.

Share this post


Link to post
Share on other sites
Have a read of the [url=http://www.phpfreaks.com/forums/index.php/topic,95867.0.html]What does -> & => do?[/url] thread in the FAQ forum. Just read the bit under [b]The -> Operator[/b] heading, dont read the bit under the [b]The => Operator[/b]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.