2
Reply

In PHP, what is the difference between self and $this. ?

saurabh  singh

saurabh singh

9y
515
0
Reply

    http://www.programmerinterview.com/index.php/php-questions/php-self-vs-this/

    we can say that $this is used to reference the current object, whereas self is used to access the current class itself.