Re: [PHP-DEV] NULL Coercion Consistency

2022-05-06 Thread Aleksander Machniak
On 08.04.2022 19:34, Craig Francis wrote: Hi, I've written a new draft RFC to address the NULL coercion problems: https://wiki.php.net/rfc/null_coercion_consistency As a voter, I'm in favor of this RFC. I suggest to rename "Documentation" section title to "Scalars coercion inconsistency" or

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-06 Thread Jordan LeDoux
On Fri, Apr 8, 2022 at 10:35 AM Craig Francis wrote: > Hi, > > I've written a new draft RFC to address the NULL coercion problems: > > https://wiki.php.net/rfc/null_coercion_consistency > > This is due to the result of the Allow NULL quiz: > > https://quiz.craigfrancis.co.uk/ > > 14 votes for Fat

[PHP-DEV] Re: NULL Coercion Consistency

2022-05-06 Thread Craig Francis
On 6 May 2022, at 16:26, Björn Larsson wrote: > Den 2022-04-08 kl. 19:34, skrev Craig Francis: >> Hi, >> I've written a new draft RFC to address the NULL coercion problems: >> https://wiki.php.net/rfc/null_coercion_consistency >> ... > > One code pattern to upgrade your code to PHP 8.1 and 9.0 is

[PHP-DEV] The future of objects and operators

2022-05-06 Thread Jordan LeDoux
Hello all, I took a while away after my operator overload RFC was declined. I've been mulling for the last few months how to move forward while respecting the concerns and feedback of those who abstained and those who voted against. But I feel like a separate discussion needs to happen first after

[PHP-DEV] Re: [VOTE] Undefined Property Error Promotion

2022-05-06 Thread Mark Randall
On 21/04/2022 22:45, Mark Randall wrote: I have now opened voting on Undefined Property Error Promotion. https://wiki.php.net/rfc/undefined_property_error_promotion The vote has concluded. The RFC has been passed with 31 votes (86%) in favour, 5 against. -- Mark Randall -- PHP Internals - P

[PHP-DEV] Re: NULL Coercion Consistency

2022-05-06 Thread Björn Larsson via internals
Den 2022-04-08 kl. 19:34, skrev Craig Francis: Hi, I've written a new draft RFC to address the NULL coercion problems: https://wiki.php.net/rfc/null_coercion_consistency This is due to the result of the Allow NULL quiz: https://quiz.craigfrancis.co.uk/ 14 votes for Fatal Type Errors irrespec

[PHP-DEV] Re: Request for wiki karma

2022-05-06 Thread Christoph M. Becker
On 06.05.2022 at 05:03, Juliette Reinders Folmer wrote: > As per the progression of the discussion about the deprecated partially > supported callable, a new RFC is needed to expand the scope of the > deprecations. See: https://externals.io/message/117342 > > I'd like to request karma to create th