Fix for bug #65911

In context of static accesses like `classname::$this`, the string `$this` should not be handled like a `$this` variable, but as an identifier for a static variable.

See https://bugs.php.net/bug.php?id=65911