Jump to content

Help


unidox

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/109639-help/#findComment-562432
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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