Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86140 invoked from network); 18 Apr 2016 23:24:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2016 23:24:13 -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.215.66 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.215.66 mail-lf0-f66.google.com Received: from [209.85.215.66] ([209.85.215.66:33942] helo=mail-lf0-f66.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/30-11975-C9C65175 for ; Mon, 18 Apr 2016 19:24:13 -0400 Received: by mail-lf0-f66.google.com with SMTP id e190so28481974lfe.1 for ; Mon, 18 Apr 2016 16:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to; bh=znlJxy5600bVIcXi64MXFlOhHzw1fUH+q2X6aRWpNnI=; b=1ANc4NaiwcRngin3uiq/9NnNbPw5FKyY+kBnxiIaMWDiWyGa4wZ7suxdi4ODK66PD9 c8N7XjAPTceNeU8Z8hkXd5UpuqXoRVGRaGaS7qwYNXQEOzZDReshk9Y72PsVUeflqcmW BUBhIy14wwiz5scuDLMTtn1oGi7bKrMv8nMliz8e4wjVAaC4EiSxuSNHKCR7zKVFhbVW zbx2+vPEiSAbbmQlArcbmEDDwM5bhtSV2X/OkjF7UHKA1PivA5xH3dFaM8sl9+pu/xGN wRslJSmEXhv7TuXJZfi4BUX3Z12cJ4RYbAbbRAVox4r5NxFpTQgcLnUdg816m2SuiUOB Wxow== 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; bh=znlJxy5600bVIcXi64MXFlOhHzw1fUH+q2X6aRWpNnI=; b=KRASR+HHtPXlPU9SibIv7LwfSf3UdBwtX1pN7Oza3yoK/jp1/RUIluV4Kf+9Idi9bS 8ymlL9dGX1P4R80nxjfWEIaUzU7bUtlkT+iR7nvkpj/9neF/OglvBJsKZSOd6O3Gna8U QXPZ2QJvh9QH6+fn3lSYil2r2cd7uOtppTJj19pz22KTAAWKysiQQL2p/PPn2e2Z0wEB kNITb8MUPGPSi5Br6K7V6tjwBNxwopH57/h06txkoRto5qeCpOp99uLY7+mrkdCTOy7s bZmDFWQuWelgi/rVk11QZaU/K9ZBspEQro9IwW21n1si+3x96Ck2ENw1PIeDceER+5vb cd3g== X-Gm-Message-State: AOPr4FVg93kPxiNY5SDITVEouAqZQrfvNzeA7DWdBS5gPB4RVcClqn1tKtXR1Z3yF4J906mlMKB1iTbJLvUS4Q== MIME-Version: 1.0 X-Received: by 10.112.188.134 with SMTP id ga6mr15249772lbc.77.1461021849475; Mon, 18 Apr 2016 16:24:09 -0700 (PDT) Sender: php@golemon.com Received: by 10.112.19.74 with HTTP; Mon, 18 Apr 2016 16:24:09 -0700 (PDT) X-Originating-IP: [107.198.91.68] In-Reply-To: References: Date: Mon, 18 Apr 2016 16:24:09 -0700 X-Google-Sender-Auth: vCgDX3XuKCJo2dFQNXyOIOSjCW4 Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [RFC] [Discussion] Octal overflow detection From: pollita@php.net (Sara Golemon) On Tue, Apr 12, 2016 at 7:38 PM, Sara Golemon wrote: > https://wiki.php.net/rfc/octal.overload-checking > Because having this expression evaluate to true makes me sad: ("\000" > === "\400") > I haven't heard any responses on this and wanted to bump it back to the top of your newsreaders. For the record, my inclination is to raise a warning on octal overflow, but not change behavior (at least, not for 7.1, perhaps later). Note that this warning would bubble up during the lexing phase, so an opcache would prevent it from raising on every page load. That's probably fine, the alternative is to signal the parser to bake it into the ast output and that's way over-engineered. -Sara