KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I guess there may not be any difference but personal preference, but when reading various PHP code I come across both ways to access the methods class. What is the difference: class Myclass { public static $foo; public static function myMethod () { // between: self::$foo; // and MyClass::$foo; } }
Tags (comma-separated)
Save Edits
Cancel