anujgarg Posted January 9, 2009 Share Posted January 9, 2009 which one is possible and why. Also, which one is not possible and why: defining static function inside a static class or defining static function inside a non-static class or defining non-static function inside a static class TIA Anuj Link to comment https://forums.phpfreaks.com/topic/140131-static-class/ Share on other sites More sharing options...
JonnoTheDev Posted January 9, 2009 Share Posted January 9, 2009 Static functions, variables can be defined anywhere. The static operator cannot be used on a class definition so i'm unsure about your definition of a static class. Link to comment https://forums.phpfreaks.com/topic/140131-static-class/#findComment-733182 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.