Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52025 invoked from network); 18 Apr 2012 11:08:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2012 11:08:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=neufeind@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=neufeind@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 91.184.32.3 as permitted sender) X-PHP-List-Original-Sender: neufeind@php.net X-Host-Fingerprint: 91.184.32.3 mail.speedpartner.de Linux 2.5 (sometimes 2.4) (4) Received: from [91.184.32.3] ([91.184.32.3:55180] helo=mail.speedpartner.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/59-03614-8A0AE8F4 for ; Wed, 18 Apr 2012 07:08:25 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.speedpartner.de (Postfix) with ESMTP id 8AD98B3DE4 for ; Wed, 18 Apr 2012 13:08:21 +0200 (CEST) Received: from mail.speedpartner.de ([127.0.0.1]) by localhost (mail.speedpartner.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZvuaprXt8Rn4 for ; Wed, 18 Apr 2012 13:08:21 +0200 (CEST) Received: from collab.speedpartner.de (collab.speedpartner.de [91.184.32.10]) by mail.speedpartner.de (Postfix) with ESMTP id 6EAF5B3D7B for ; Wed, 18 Apr 2012 13:08:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by collab.speedpartner.de (Postfix) with ESMTP id 2B932CB9FF8 for ; Wed, 18 Apr 2012 13:08:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at collab.speedpartner.de Received: from collab.speedpartner.de ([127.0.0.1]) by localhost (collab.speedpartner.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DACheKszC1VX for ; Wed, 18 Apr 2012 13:08:18 +0200 (CEST) Received: from [192.168.4.20] (ip-62-143-28-82.unitymediagroup.de [62.143.28.82]) by collab.speedpartner.de (Postfix) with ESMTPSA id B2E73CB9FF7 for ; Wed, 18 Apr 2012 13:08:18 +0200 (CEST) Message-ID: <4F8EA092.9000209@php.net> Date: Wed, 18 Apr 2012 13:08:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: PHP internals References: <4F8DF4B1.2040307@sugarcrm.com> <4F8E9E1E.8050207@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] skipping optional parameters From: neufeind@php.net (Stefan Neufeind) On 04/18/2012 01:05 PM, Arvids Godjuks wrote: > I personally would vote for the "default" keyword if I want to skip the > param rather than just doing it with , - the keyword approach is much more > readable and error prone. I also agree that the "comma-train" (multiple commas without anything inbetween) might be too confusing and that using a default-keyword (whatever it might be) might imho be an option. Regards, Stefan