onthespot Posted July 3, 2009 Share Posted July 3, 2009 Ive been using a snippet of other code and there are many instances where it is defined as $this->kigged_in. Whats the -> mean? Link to comment https://forums.phpfreaks.com/topic/164665-basic-code/ Share on other sites More sharing options...
backie Posted July 3, 2009 Share Posted July 3, 2009 -> 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.