Skip to content

Glossary: PHP Basics

$this

Inside a method, a name for the object the method was called on, so `$this->name` is that product's own name.

Where the book teaches it

Related terms

objectmethodproperty