PHP: better support for 'self' keyword and static variables