Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85005 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21647 invoked from network); 16 Mar 2015 08:51:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 08:51:59 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.179 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.212.179 mail-wi0-f179.google.com Received: from [209.85.212.179] ([209.85.212.179:36706] helo=mail-wi0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/43-00492-EA996055 for ; Mon, 16 Mar 2015 03:51:58 -0500 Received: by wibg7 with SMTP id g7so31598074wib.1 for ; Mon, 16 Mar 2015 01:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MZLsfl6KPvwQi8N6+CbkA+tktrDHTKjswmmMxc8HX5c=; b=Yu/cUh/28ytBMLvOSe8Af/QLed30ZFie9JRo85Rmp64dOG0ykty4aMVBSuqb8huG1y BYMIU/hmeuhfhdK504DWnq+MWmnOmZDcmfeFsIhr59uJEnMgFIbwlzxPt3VOk9AYLeoi d22pc1RytAMWNRBF5xK08ZEYTnU7qIh+nAgKlhUUEZ5KvGWpuwjeJizGBWic2Ydjp6lK SFQSWaA2lV+l4NnRRQByElhXfNqYwdqrUqYIaJm/4xz+3tlZ3ag9nq1aDWA9lHj4OXsN y6pIuVky8AdnD2BoiApQ7L0kUX57v2iN+qakGruAMVBJFL0oA8x9lCKjlaIv7HGWM6VR 55Gw== X-Received: by 10.194.88.131 with SMTP id bg3mr123201597wjb.119.1426495915609; Mon, 16 Mar 2015 01:51:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.101.2 with HTTP; Mon, 16 Mar 2015 01:51:34 -0700 (PDT) In-Reply-To: <550698E2.8060802@lsces.co.uk> References: <54FF8CED.5030701@gmail.com> <54FFC96D.6090004@gmail.com> <1579682575.9673.1426064704052.JavaMail.open-xchange@app06.ox.hosteurope.de> <55000A88.1030909@lsces.co.uk> <55060A95.1020901@gmail.com> <550698E2.8060802@lsces.co.uk> Date: Mon, 16 Mar 2015 08:51:34 +0000 Message-ID: To: Lester Caine Cc: PHP Internals List Content-Type: multipart/alternative; boundary=089e010d849e52d6c1051163f63f Subject: Re: [PHP-DEV][RFC][DISCUSSION] Strict Argument Count From: ocramius@gmail.com (Marco Pivetta) --089e010d849e52d6c1051163f63f Content-Type: text/plain; charset=UTF-8 On 16 March 2015 at 08:48, Lester Caine wrote: > The problem here is simply that just what error's are enabled and > disabled is getting more difficult to decide? If when moving from a > currently clean environment which has every error displayed and only > shows something when any problem arises then moving to a new major > version do we have to switch everything off again since all types of > errors will now be thrown by the previously clean code. > > This is the problem currently in the PHP5.2->5.4 dilema. Yes you can > switch errors off and the code runs, but then how do you address the > problems. Added to which something hidden by E_DEPECATED in 5.3 is now > no longer available in 5.4, but the code is still 5.2. > We are talking about codebases with strict no-notice and no-warning policies. Disabling error reporting is not going to cut it here, as we all test our stuff with E_ALL. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --089e010d849e52d6c1051163f63f--