Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94882 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99720 invoked from network); 6 Aug 2016 11:10:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2016 11:10:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=tpunt@hotmail.co.uk; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tpunt@hotmail.co.uk; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.co.uk designates 157.55.2.95 as permitted sender) X-PHP-List-Original-Sender: tpunt@hotmail.co.uk X-Host-Fingerprint: 157.55.2.95 dub004-omc4s20.hotmail.com Received: from [157.55.2.95] ([157.55.2.95:52354] helo=DUB004-OMC4S20.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/B8-33134-2A5C5A75 for ; Sat, 06 Aug 2016 07:10:26 -0400 Received: from DUB129-W47 ([157.55.2.71]) by DUB004-OMC4S20.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 6 Aug 2016 04:10:23 -0700 X-TMN: [S0WWuoHbYQM4gUycyBP2fPHvFlKuDOUY] X-Originating-Email: [tpunt@hotmail.co.uk] Message-ID: Content-Type: multipart/alternative; boundary="_f4b876b2-c91d-40f2-8952-b4b99492285f_" To: Niklas Keller , Davey Shafik CC: Nikita Popov , "internals@lists.php.net" , Dmitry Stogov Date: Sat, 6 Aug 2016 12:10:23 +0100 Importance: Normal In-Reply-To: References: , , MIME-Version: 1.0 X-OriginalArrivalTime: 06 Aug 2016 11:10:23.0470 (UTC) FILETIME=[209C30E0:01D1EFD3] Subject: RE: [PHP-DEV] Change to Too Few Args Exception RFC From: tpunt@hotmail.co.uk (Thomas Punt) --_f4b876b2-c91d-40f2-8952-b4b99492285f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! > From: me@kelunik.com> > I don't like "ArgumentError"=2C how about "WrongArgumentCountError"? Mayb= e > also "WrongArgumentsError". I'd favour simply ArgumentCountError. No need to prepend a "wrong" to theer= ror class name - we can already guess it's wrong because it has resulted in= an error :) -Tom = --_f4b876b2-c91d-40f2-8952-b4b99492285f_--