Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102027 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50208 invoked from network); 11 Apr 2018 13:50:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2018 13:50:08 -0000 Authentication-Results: pb1.pair.com header.from=bjorn.x.larsson@telia.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bjorn.x.larsson@telia.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain telia.com designates 81.236.60.154 as permitted sender) X-PHP-List-Original-Sender: bjorn.x.larsson@telia.com X-Host-Fingerprint: 81.236.60.154 v-smtpout1.han.skanova.net Received: from [81.236.60.154] ([81.236.60.154:37006] helo=v-smtpout1.han.skanova.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/00-36099-7821ECA5 for ; Wed, 11 Apr 2018 09:50:02 -0400 Received: from [192.168.8.8] ([94.254.95.82]) by cmsmtp with ESMTPA id 6G8Kfjk3EluFa6G8KfHv4x; Wed, 11 Apr 2018 15:49:57 +0200 To: Andrea Faulds , PHP internals References: <5E.63.36099.D21EBCA5@pb1.pair.com> Message-ID: <6ec6c8d4-af93-6716-3a7c-5d66de696ef3@telia.com> Date: Wed, 11 Apr 2018 15:49:56 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5E.63.36099.D21EBCA5@pb1.pair.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-CMAE-Envelope: MS4wfMZEc8kHWQMhIZoMP5EuT2KQHXZ4Fg/6u4UiKGzi3J5OrRN4BvaciixxRGXqxGBAlIMu/td9jY4hX6b9HAHQvSK6/HtIneyXKsYTJ19A96yCRHlZq4Hk KFjjztbVGKedUBJpGUSZVFPvCYSm2DUCa9jv3unz0jSiTwVlyu6Fk8BUXTiUabJfNLnOka/kqaf4o8aGltp9CdVNi1/9jsk7Bak= Subject: Re: [PHP-DEV] [RFC][Discussion] Make compact function reportsundefined passed variables From: bjorn.x.larsson@telia.com (=?UTF-8?Q?Bj=c3=b6rn_Larsson?=) And by that one could argue that the BC break is negligible :) Anyway, I think this is a clear improvement! Regards -- //Björn Larsson Den 2018-04-09 kl. 23:54, skrev Andrea Faulds: > And the determined can prefix with an @ if they want similar to old > behaviour :) > > Ivan Enderlin wrote: >> Hello, >> >> Yes, a thousand yes. Silently ignoring undefined variables is a source >> of multiple bugs. Emiting a warning is a small BC break comparing to the >> benefits. >> >> Regards. >> >