Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80127 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5469 invoked from network); 3 Jan 2015 21:13:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jan 2015 21:13:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.217.180 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.217.180 mail-lb0-f180.google.com Received: from [209.85.217.180] ([209.85.217.180:60990] helo=mail-lb0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/F2-21228-97B58A45 for ; Sat, 03 Jan 2015 16:13:30 -0500 Received: by mail-lb0-f180.google.com with SMTP id l4so16378746lbv.11 for ; Sat, 03 Jan 2015 13:13:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=88AQzNi9MTDm+waOpa7BP30UeprrPZ0LmL02+ukZv1c=; b=FNbSBPEACf7MEILcy5PX5yA8RrGYO2Ueq5c6V2nGrkA58Y5yQ9b65VpaiWMP2NqH+j ccwPcZC9ymnhwjK2sHiPrz7RYLu+hxcP6ST0Qui+kyb+5goZ8S7h1uy9uHWU7GZN51cj VSjplv+fFsD4UDb/p8yezGkOm4DiCjpDnB751aYHPQvJwUS0LhMelLDptXLYC/M8q677 DPnkJHtLfMeEQQqZdXR0fWWkJzIdmUL93FkbaKlcyQG+eq4jLnbTlaAa1AkXHNJsglKj PuGczZw5LNXswkxPWybuTnyElXdue6e/qPbWVESPZaxrVaI94BfXyM4Hqco91QSCc5Ih S0+w== X-Gm-Message-State: ALoCoQkCQ9U8SDPXRQumFHvGm7py7+S5uyU0zDF2PfO/kwJHmxGwoyCTfFnNiz8SSqQdxuEJRt8y MIME-Version: 1.0 X-Received: by 10.152.8.225 with SMTP id u1mr83770372laa.21.1420319606328; Sat, 03 Jan 2015 13:13:26 -0800 (PST) Sender: php@golemon.com Received: by 10.112.171.97 with HTTP; Sat, 3 Jan 2015 13:13:26 -0800 (PST) X-Originating-IP: [69.63.185.56] In-Reply-To: References: Date: Sat, 3 Jan 2015 13:13:26 -0800 X-Google-Sender-Auth: Dvuirdw7VJuAEopkGrj6-qh4pLI Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Remove hex support in numeric strings From: pollita@php.net (Sara Golemon) On Sat, Jan 3, 2015 at 11:55 AM, Nikita Popov wrote: > I'd like to propose removing support for hexadecimal strings in the > is_numeric_string() function, in order to achieve consistency with ordinary > integer and float casts: > > https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings > > This change drops a WTF in our conversion semantics and should have low BC > impact. > +1, this was always a weird inconsistency and as you note, there's a robust solution for explicitly saying that you want hex numbers to be parsed. Would vote yes again. -Sara