Cannot access empty property

You can get errors like Cannot access empty property in Foo.php on line 90 if you put a dollar sign in the wrong place on a member variable.

WRONG $this->$foo = 3;  // $foo is wrong

RIGHT $this->foo = 3;   // foo is right