$this vs self in php

$this vs self in php: $this refers to the current object of the class and self refers to the current class itself. $this can not be used inside static function whereas self can be used inside static function. When we need to access static function and reference static member variable…
TechieRoopTutorials, Programming Solutions, Tips & Tricks 2016