$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 then we can't access through $this…
Continue Reading