Hi internals! I'd like to submit a small RFC for your consideration, which ensures something that really ought to be a given already: If you use $this in an instance method, you should actually get a $this (and not NULL).
https://wiki.php.net/rfc/forbid_null_this_in_methods As this is targeting PHP 7.1, the RFC is careful to retain compatibility with certain legacy PHP 4 code patterns. Thanks, Nikita