Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88367 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38157 invoked from network); 18 Sep 2015 23:20:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2015 23:20:44 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.43 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.43 mail-pa0-f43.google.com Received: from [209.85.220.43] ([209.85.220.43:36269] helo=mail-pa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/21-31193-A4C9CF55 for ; Fri, 18 Sep 2015 19:20:43 -0400 Received: by padhk3 with SMTP id hk3so62386329pad.3 for ; Fri, 18 Sep 2015 16:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=dqRIMp+ICVpqSODF3SbpNgHPczvCgDn8hQ9xs1mEQws=; b=Q7xSaXhnuzk1cbpti27wp9zXnWoxDg4OMkuvLgLGwhyvqYIT9A0ndXIa5m8+3c/9NC b9YSY7oA6K3eseeildhZcY78Kw/XjNgVO+JBxy4V1X82LutUx8eY9qNekR/5zhpjEvXo nGaPcfdvaxuoeP1UDGjrE0G/qhglM5+RnYMM5u4Xwj+9mwcui5kx+z5QbZ9utBW3kKLH Ohu0LnUFDyp49r1HP03cHYL5WvR7jQfKLpTQSgg9yTUH85rsmlAJ8jXyo3y4G2YNQ6GU anqn6W+rD1M6zFwBqc094NjPXQexcWb0Fa8nPb/wUy4hljlkvKndPAZq1lNGbcLDSiWN 2GYw== X-Received: by 10.68.139.226 with SMTP id rb2mr9930483pbb.49.1442618439286; Fri, 18 Sep 2015 16:20:39 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by smtp.gmail.com with ESMTPSA id be3sm10939511pbc.88.2015.09.18.16.20.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Sep 2015 16:20:38 -0700 (PDT) To: =?UTF-8?Q?Fran=c3=a7ois_Laupretre?= , internals@lists.php.net References: <55FB3A60.1040601@gmail.com> <55FB4270.7000204@lsces.co.uk> <55FB4969.7080600@gmail.com> <55FB5BA6.6050606@lsces.co.uk> <55FBF265.5000502@gmail.com> <55FBF7B7.4050603@lsces.co.uk> <55FC1A77.7090406@gmail.com> <55FC221A.7020108@lsces.co.uk> <55FC2588.6030809@gmail.com> <55FC2B17.3070909@lsces.co.uk> <55FC2F2F.9060403@gmail.com> <55FC33F1.3090903@lsces.co.uk> <55FC354B.5070209@gmail.com> <55FC39B2.5070005@lsces.co.uk> <55FC45C7.9010202@gmail.com> <55FC4991.1050903@lsces.co.uk> <7872E9F4-AE19-4681-B2EF-215751AE4CBE@thesba.com> <55FC5A14.8020301@gmail.com> <55FC988E.5000502@php.net> Message-ID: <55FC9C44.7050302@gmail.com> Date: Fri, 18 Sep 2015 16:20:36 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55FC988E.5000502@php.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > would tell you that accessing an uninitialized variable triggers an > error. You can argue that a 'notice' is not an error but, in practice, > everybody considers it this way. Nobody will tell you : 'Oh, that's just > a notice, just disable E_NOTICE in your php.ini'. In fact, that's exactly what notice is meant for - something that can be easily ignored. Otherwise, there's no different between notice and warning. > element exists will send you to hell." won't change anything. People > currently writing 'isset($foo['bar'])' won't change it for > 'array_key_exists('bar',$foo)'. Just because it is longer, less > readable, and you need to remember argument order (which is quite > counter-intuitive). If you insist on using wrong tool for the job, despite right tool being available right next to you, then complaining about tool being wrong and needing to change is not the right way to go. -- Stas Malyshev smalyshev@gmail.com