rfc:forbid_null_this_in_methods
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:forbid_null_this_in_methods [2016/04/29 16:15] – Clarify nikic | rfc:forbid_null_this_in_methods [2016/04/29 19:23] – Remove HHVM mentions -- those are plain wrong nikic | ||
---|---|---|---|
Line 40: | Line 40: | ||
</ | </ | ||
- | The goal of this RFC is to tighten guarantees that any reasonable person is expecting anyway, removing one of our largest remaining type-system loopholes. This RFC will ensure that within a non-static method the assertion '' | + | The goal of this RFC is to tighten guarantees that any reasonable person is expecting anyway, removing one of our largest remaining type-system loopholes. This RFC will ensure that within a non-static method the assertion '' |
===== Proposal ===== | ===== Proposal ===== | ||
Line 170: | Line 170: | ||
This pattern will no longer be supported. (Actually it's still possible to do this using variable-variables for people with strong masochistic tendencies.) | This pattern will no longer be supported. (Actually it's still possible to do this using variable-variables for people with strong masochistic tendencies.) | ||
- | |||
- | HHVM already forbids '' | ||
===== Future Scope ===== | ===== Future Scope ===== |
rfc/forbid_null_this_in_methods.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1