jonniejoejonson Posted September 2, 2009 Share Posted September 2, 2009 What does :: mean... please can you give a simple example... kind regards J Link to comment https://forums.phpfreaks.com/topic/172816-what-does-mean/ Share on other sites More sharing options...
trq Posted September 2, 2009 Share Posted September 2, 2009 It enables you to access static methods and properties from within a class. See static. Link to comment https://forums.phpfreaks.com/topic/172816-what-does-mean/#findComment-910843 Share on other sites More sharing options...
JonnoTheDev Posted September 2, 2009 Share Posted September 2, 2009 It is a call to a class method (usually static) class foo { static function bar() { print "hello world"; } } foo::bar(); Link to comment https://forums.phpfreaks.com/topic/172816-what-does-mean/#findComment-910844 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.