unidox Posted June 10, 2008 Share Posted June 10, 2008 I have a few questions about OOP. 1) In oop, whats the difference between => and ->? 2) In oop, whats the difference between a public and private function. 3) In oop, whats :: used for? Thanks Quote Link to comment Share on other sites More sharing options...
rarebit Posted June 10, 2008 Share Posted June 10, 2008 1) In oop, whats the difference between => and ->? The first is used with associative arrays, the latter to access elements of classes. 2) In oop, whats the difference between a public and private function. Private means it can only be accessed from within the object... 3) In oop, whats :: used for? It's all about namespace, dude... Quote Link to comment 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.