galvin Posted June 30, 2011 Share Posted June 30, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240759-what-exactly-is-the-arrow-for-in-php/ Share on other sites More sharing options...
xyph Posted June 30, 2011 Share Posted June 30, 2011 Classes http://php.net/manual/en/language.oop5.php Quote Link to comment https://forums.phpfreaks.com/topic/240759-what-exactly-is-the-arrow-for-in-php/#findComment-1236645 Share on other sites More sharing options...
revraz Posted June 30, 2011 Share Posted June 30, 2011 Also found in the FAQ Section of the Forums http://www.phpfreaks.com/forums/index.php?topic=95867.0 Quote Link to comment https://forums.phpfreaks.com/topic/240759-what-exactly-is-the-arrow-for-in-php/#findComment-1236647 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.