what does "->" mean?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dencker
Forum Newbie
Posts: 2
Joined: Sun Feb 01, 2009 6:56 am

what does "->" mean?

Post by dencker »

Hi people.
I've programmed PHP for quite a long time, but my skills are very basic. Therefore I'm looking into going more advanced. I'm sure this a very basic thing, but I've seen in a bunch of pre-programmed websites that "->" is used. What does that mean?
- Dencker.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: what does "->" mean?

Post by jaoudestudios »

Its object orientated programming.

Read http://us2.php.net/oop it should answer a lot of questions :)
dencker
Forum Newbie
Posts: 2
Joined: Sun Feb 01, 2009 6:56 am

Re: what does "->" mean?

Post by dencker »

Thank you very much mate :-)
User avatar
Skoalbasher
Forum Contributor
Posts: 147
Joined: Thu Feb 07, 2008 8:09 pm

Re: what does "->" mean?

Post by Skoalbasher »

I understand OOP and how to use it. I just don't know WHY to use it. Procedural seems to do the trick for me. I've been to the PHP manual, but it's too technical, just telling me HOW and not WHY or WHEN. If anybody could point me in the right direction that'd be awesome.

Sorry to hijack this thread.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: what does "->" mean?

Post by jaoudestudios »

Skoalbasher wrote:I understand OOP and how to use it. I just don't know WHY to use it. Procedural seems to do the trick for me. I've been to the PHP manual, but it's too technical, just telling me HOW and not WHY or WHEN. If anybody could point me in the right direction that'd be awesome.

Sorry to hijack this thread.
I would start a new thread with your question and a relevant title.
Post Reply