What is $this in PHP?
It's a pseudo-variable which refers to the current instance of the class where it's used.
This is explained in more detail in How to access classes and objects in PHP.
It's a pseudo-variable which refers to the current instance of the class where it's used.
This is explained in more detail in How to access classes and objects in PHP.
Log in or create a user account to post a comment.