tauchai83 Posted January 3, 2007 Share Posted January 3, 2007 I have seem the example of the developer....actually what is $this keyword in PHP?$this->temp_db; for example...could some1 explain it? $thismany tahnks.. Link to comment https://forums.phpfreaks.com/topic/32687-what-does-this-mean/ Share on other sites More sharing options...
trq Posted January 3, 2007 Share Posted January 3, 2007 It is used within classes to refer to the current instantiated object (itself).You can read more on objects [url=http://php.net/oop]here[/url]. Link to comment https://forums.phpfreaks.com/topic/32687-what-does-this-mean/#findComment-152104 Share on other sites More sharing options...
taith Posted January 3, 2007 Share Posted January 3, 2007 "this->" is for "class"eshttp://us2.php.net/manual/en/ref.classobj.php Link to comment https://forums.phpfreaks.com/topic/32687-what-does-this-mean/#findComment-152105 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.