Jump to content

what exactly is the arrow for in Php?


galvin

Recommended Posts

I have been using PHP for a while now and just recently we started using Joomla at work (which uses PHP and MySQL) and in digging through code, I'm seeing a lot of instances where there is code with an arrow, such as...

 

something -> somethingelse()

 

I'm seeing it A LOT so either I somehow missed a big part of PHP along the way, or maybe it's a not-so popular syntax where the goal can be accomplished another way???

 

Anyway, I am trying to google it but not really sure what to search for. 

 

Can anyone briefly explain what this arrow means, or guide me in a direction where I can learn more about it online?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/240759-what-exactly-is-the-arrow-for-in-php/
Share on other sites

Archived

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

×
×
  • Create New...

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.