Good afternoon. I would like to create an RFC on the implementation of the NOT null assertion operator. Do you think it makes sense to create it? I was able to implement the operator. I've already posted a draft in my github - https://github.com/rekmixa/php-src/tree/feature/not_null_assertion_operator An example of the implementation of this operator can be viewed in kotlin or in typescript. The point of it is that in places where we did not expect null, we should not make additional checks, but use this operator. It will also be convenient for highlighting in the IDE.
- [PHP-DEV] RFC: Not Null Assertion Operator Mihail Liahimov
- Re: [PHP-DEV] RFC: Not Null Assertion Operator Ilija Tovilo
- Re: [PHP-DEV] RFC: Not Null Assertion Operato... Mihail Liahimov
- Re: [PHP-DEV] RFC: Not Null Assertion Ope... Ilija Tovilo
- Re: [PHP-DEV] RFC: Not Null Assertion... Christoph M. Becker
- Re: [PHP-DEV] RFC: Not Null Assertion Ope... Larry Garfield
- [PHP-DEV] RFC: Not Null Assertion Operator Mihail Liahimov
- Re: [PHP-DEV] RFC: Not Null Assertion Operato... Faizan Akram Dar
- Re: [PHP-DEV] RFC: Not Null Assertion Ope... Valentin Udaltsov
- Re: [PHP-DEV] RFC: Not Null Assertion... Rob Landers
- Re: [PHP-DEV] RFC: Not Null Assertion... Faizan Akram Dar