Jump to content

what exactly is the arrow for in Php?


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?



Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.