Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

"->" notation in PHP

Options
  • 18-10-2007 3:14pm
    #1
    Registered Users Posts: 1,127 ✭✭✭


    I will succumb eventually to PHP, but Im just trying to understand a small piece of code for now.

    What does "->" mean, or better still, is there equivalent notation in Java?

    Thanks


Comments

  • Registered Users Posts: 981 ✭✭✭fasty


    I'm not a PHP guy really but the language supports OO design from the looks of it and the -> operator refers to data items stored in an object.

    The equivilant in java is '.' as in myObject.SomeFunction()


Advertisement