jimfog Posted October 4, 2011 Share Posted October 4, 2011 WIth the "this" keyword(as i have come to understand) i can access class tributes, from within the class. Can "this" be used outside of a class? Link to comment Share on other sites More sharing options...
birbal Posted October 4, 2011 Share Posted October 4, 2011 no..this suppose to be point to the current instance of class Link to comment Share on other sites More sharing options...
Ingolme Posted October 4, 2011 Share Posted October 4, 2011 "$this" doesn't make any sense outside of a class. Can you explain what behavior you would expect from it? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.