I see the variable $this in PHP all the time and I have no idea what it\'s used for. I\'ve never personally used it.
$this
Can someone tell me how the variab
$this is a reference to the calling object (usually the object to which the method belongs, but possibly another object, if the method is called statically from the context of a secondary object).