Re: Re: [RFC] Permit trailing whitespace in numeric strings

From: Date: Wed, 27 Mar 2019 16:19:31 +0000
Subject: Re: Re: [RFC] Permit trailing whitespace in numeric strings
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-104970@lists.php.net to get a copy of this message
On Tue, 26 Mar 2019 at 23:09, Benjamin Morel <benjamin.morel@gmail.com> wrote: > Also, may I suggest that these 2 RFCs be merged together? > > https://wiki.php.net/rfc/string_to_number_comparison > https://wiki.php.net/rfc/trailing_whitespace_numerics > Although they are complementary, the two RFCs are tackling different subjects, so should remain separate IMHO. - Andrea's RFC is discussing the behaviour of parsing number strings in a wide variety of contexts, including implicit and explicit casts. - Nikita's RFC is discussing the specific case of comparisons, and applies existing number-parsing rules to different contexts I am certainly in favour of them both targeting PHP 8, possibly along with additional "type juggling" changes, which could all be documented together, but I think it would just be confusing to try to cover all the examples, pros and cons, and voting options in one RFC. Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#104970) next »