On Tue, 26 Mar 2019 at 23:09, Benjamin Morel <benjamin.mo...@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]

Reply via email to