Syntax error, unexpected T OBJECT OPERATOR

You can get errors like syntax error, unexpected T_OBJECT_OPERATOR in Foo.php on line 88 if you forget a dollar sign on $this.

WRONG this->a = 10;

RIGHT $this->a = 10;