Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83444 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19447 invoked from network); 21 Feb 2015 22:56:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2015 22:56:37 -0000 Authentication-Results: pb1.pair.com header.from=tpunt@hotmail.co.uk; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tpunt@hotmail.co.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.co.uk designates 157.55.1.143 as permitted sender) X-PHP-List-Original-Sender: tpunt@hotmail.co.uk X-Host-Fingerprint: 157.55.1.143 dub004-omc2s4.hotmail.com Received: from [157.55.1.143] ([157.55.1.143:57305] helo=DUB004-OMC2S4.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/F9-08895-32D09E45 for ; Sat, 21 Feb 2015 17:56:37 -0500 Received: from DUB113-W22 ([157.55.1.136]) by DUB004-OMC2S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sat, 21 Feb 2015 14:56:33 -0800 X-TMN: [L7xpxMxw3MeH8hrCvO3GfZHKyVlRiWeF] X-Originating-Email: [tpunt@hotmail.co.uk] Message-ID: To: Dan Ackroyd , Markus Fischer CC: "internals@lists.php.net" Date: Sat, 21 Feb 2015 22:56:32 +0000 Importance: Normal In-Reply-To: References: ,<54E831BA.80609@fischer.name>, Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 21 Feb 2015 22:56:33.0045 (UTC) FILETIME=[A3154450:01D04E29] Subject: RE: [PHP-DEV] [RFC] Make empty() a Variadic From: tpunt@hotmail.co.uk (Thomas Punt) Hey Dan=2C=0A= =0A= > Making it easier to write bad (imo) code does=0A= > not seem a good reason for a change.=0A= =0A= The point of this language feature isn't to promote or simplify the creatio= n of bad code. Developers can (and will) misuse any feature to write poor c= ode.=0A= =0A= The aim of this RFC is to enable developers to write less verbose code for = what seems like a common scenario in code bases. Whilst the examples I show= s may not be demonstrating the highest quality of code out there=2C they do= show that code does exist (and in popular projects too) that could benefit= from having this feature included =A0into PHP.=0A= =0A= >=0A= > cheers=0A= > Dan=0A= =0A= Thanks=2C=0A= Tom =