The difference between $this->name and $this->$name
I think it should be like this: $this->name is a member variable named name in the access class. The latter is to access a member variable named $name in the class. If $name = x, then it is equivalent to $this->x;
$this->name
means inside the class Codenames for properties and methods
The above has introduced PHP object-oriented, including object-oriented and PHP content. I hope it will be helpful to friends who are interested in PHP tutorials.