Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104970 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 5074 invoked from network); 27 Mar 2019 19:26:03 -0000 Received: from unknown (HELO mail-it1-f174.google.com) (209.85.166.174) by pb1.pair.com with SMTP; 27 Mar 2019 19:26:03 -0000 Received: by mail-it1-f174.google.com with SMTP id 139so1072603ita.4 for ; Wed, 27 Mar 2019 09:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eJXV8uT+ip6DNxD8UVf5sD8vI0KxlV5/EFD5TpjVQqs=; b=a6FYcAc2fm6cw3fvfUx16IcIBtx0tVksoF2gLoAclnBa0dww/0MdPwEsicV2CgGmRQ qf/DtNBbMiMoj4+6eTkNXysw5uMuyj/BwQIQOXIePWSm31DKOIc1/1Yxn9QgaY88eLIS 2vhsE4CxxvA1oNWwAr4B91anovR/3rL0nRovhBPE68hQ0uWZt2S1lFXrWRgQR8FTfLKk 38MX5AK6NFoO6Vgj9zBsX8eZh8XcC/rLOdC1c6Ef3cPmgqmv7N/WbGuuESnVYRRfrU4z kSvvc+X855zqC2S9A02EWyDsEBd0NwqW89rMLKGtQhyAO7oTJAbctOYTZAefRORozmGy oo4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eJXV8uT+ip6DNxD8UVf5sD8vI0KxlV5/EFD5TpjVQqs=; b=dfEjSRiUUKHe025QllEcbTA0Vm1vCniSxOWObXccol+i6JxakHAPy7q7lunTzNIk2m eiPfteSAupvylVhZYoBJAzxqOiDSYN7yZJO1lzAwHy4eKvCoLmusDtHIicDxh4jOfeWP /sxFUVbx+Ml5bfcexDk16UE4DowKf+xA+oPLy1Hbm58HZPm18+YbyI+m4nFuemY21iBE +Cb/HJPZlDGYWitTMCAOXWc1HUmjdK/5xRFe8GRUwi1ffkYd4o8KiVQlEjF2hjjbwqBG ssntktF3b2yABWIauxxDlSZ8hrCkgG7vU73U8l5tLqPSrmTZ6jblvwLyubz2mrT/aoO/ lDWQ== X-Gm-Message-State: APjAAAW/7RZFs9Iucchmows3JbPLVjpHI/eQqLM387iXYQbIxMmBEu8t KFwhSaFG6ILJqdopbH+Qe4XFjNurz3hPPk7ARo83eA== X-Google-Smtp-Source: APXvYqwGboRoDdeXmgw1erwcsbwPiYgHR0VWQMJSOg2xcZaI60K5Sd/bdFvhA/+BO1v8xIkYQv5i8uct9sQ0Gxm7Omw= X-Received: by 2002:a24:4e82:: with SMTP id r124mr4363065ita.34.1553703582898; Wed, 27 Mar 2019 09:19:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 27 Mar 2019 16:19:31 +0000 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="000000000000251c44058515ce08" Subject: Re: [PHP-DEV] Re: [RFC] Permit trailing whitespace in numeric strings From: rowan.collins@gmail.com (Rowan Collins) --000000000000251c44058515ce08 Content-Type: text/plain; charset="UTF-8" On Tue, 26 Mar 2019 at 23:09, Benjamin Morel 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] --000000000000251c44058515ce08--