Jump to content

Basic code


onthespot

Recommended Posts

-> is a reverence to it access an object's method or attribute. Its for OO programming where the object's class/attribute isn't static if it was then it would be called Class::getVar() or Class::$Log[] = "worked";

 

http://uk2.php.net/manual/en/language.oop5.php for futher reading

 

Hope that helps.

Link to comment
https://forums.phpfreaks.com/topic/164665-basic-code/#findComment-868359
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.