Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102131 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1737 invoked from network); 25 May 2018 11:58:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2018 11:58:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=carusogabriel34@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=carusogabriel34@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.193 as permitted sender) X-PHP-List-Original-Sender: carusogabriel34@gmail.com X-Host-Fingerprint: 209.85.128.193 mail-wr0-f193.google.com Received: from [209.85.128.193] ([209.85.128.193:46750] helo=mail-wr0-f193.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/F8-27834-D7AF70B5 for ; Fri, 25 May 2018 07:58:53 -0400 Received: by mail-wr0-f193.google.com with SMTP id x9-v6so8775101wrl.13 for ; Fri, 25 May 2018 04:58:53 -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 :cc; bh=UmCGr+tMkebfXbsZfnKxCr8QKnPoXfBvxu4rmo5V9ds=; b=vclQRBFTrXuTG6kfsMW9hlUxo8Nlt9tjMcFU1iWfZ/fL9e/dTz5aEGFB6MM99Cq5qz ZuAX9Ds6fe1FP6fQisSvyhgIWBlVvYxjOc1o1RspBN7k9dIfpptw6mBburmOdA1TRB8U xVT481oI4l42VPDYgQ49wwQtSRA91b4sEXl1yvGTSky9eIgoGSNSkhJy1U78r6qH8jYt ymru7b2be1dR31n555/WuHHjECNSQt3PRKhr2rHLm+dfXKZzjFI3QOEqqBv7EQQ6ujkH Y2OuTweqVsK2Oxg/ESgdov4FiPlHOqlmmCA+PmlIrx2bSsZ2ux2JgUrO6djj3rWrU1Is rzlA== 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:cc; bh=UmCGr+tMkebfXbsZfnKxCr8QKnPoXfBvxu4rmo5V9ds=; b=e47qlAQLjQd0Q2suheoaYrQECDdlxFNw9rAYFBJZ8bWR1JO9RSaRsZtbFtjHz+DA9q WXh56X5g1fYXtIsmfb75AkqnYBb4konMyHuXCNKcgpzMvJMfYBCFfkNH2KtiXIyE0a8Q Gue9awztF2sNq0qVk14kB0T6nQNalgWQ3gQbfJs6d6Qhk7sAqkkJM+B2ahdPQbcxoV0j LTxD8UjehMoHZ47uRLq2cKKm2SAHMnAkJjH1uKbBQtZlzHYI+PPXA1FdD8YmjwHEY2+7 evg45LrtEpM2obI8OCsV/8Q3DZ02nX7piJwX6SZaHCBpAciLVLcenP4JqVG/D3dVnjLV XImw== X-Gm-Message-State: ALKqPwdu6Uff6Y53Ye/edRw1CHlX5sleOiLidsMp4p6g1Ih6DgCzxW4/ 6TseUmGCRuen+RVznjg6cpnZzc6+EFQWOH0HmHQ= X-Google-Smtp-Source: AB8JxZr4E194or+2UaNWVqg3ZD9JvFoIw2774D4MaQCWMCGTOUd/EwZRjgt3hY18PiegQGyjtSm84ON5+4uKTfZiCHA= X-Received: by 2002:adf:9a27:: with SMTP id z36-v6mr1752954wrb.47.1527249529730; Fri, 25 May 2018 04:58:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 25 May 2018 08:58:37 -0300 Message-ID: To: Sammy Kaye Powers Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000b40735056d067d48" Subject: Re: [PHP-DEV] [RFC] Make compact function reports undefined passed variables From: carusogabriel34@gmail.com (Gabriel Caruso) --000000000000b40735056d067d48 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sammy, thanks for point it. Just test a simple code (https://3v4l.org/0QQ9S) to confirm that. Gonna change it in the implementation. Em sex, 25 de mai de 2018 =C3=A0s 08:45, Sammy Kaye Powers escreveu: > On Thu, May 24, 2018 at 10:17 PM, Gabriel Caruso > wrote: > > Hello Internals. > > > > > > I'd like to announce my new RFC: https://wiki.php.net/rfc/compact. > > > > > > This was already previously discussed ( > https://externals.io/message/102012) > > and now I have officially opened the RFC so we can discuss, improve and > > vote it. > > > > > > Thanks in advance, > > -- > > Gabriel Caruso > > I love it as it would help guard against obscure bugs. > > I would suggest raising an E_NOTICE instead of an E_WARNING as that is > the typical behavior of undefined variables elsewhere. :) > > Thanks, > Sammy Kaye Powers > sammyk.me > --=20 Gabriel Caruso --000000000000b40735056d067d48--