Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60685 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85710 invoked from network); 29 May 2012 00:29:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2012 00:29:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.155 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.155 smtp155.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.155] ([67.192.241.155:38559] helo=smtp155.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/D0-13113-B6814CF4 for ; Mon, 28 May 2012 20:29:31 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp32.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id A8F925034A; Mon, 28 May 2012 20:29:28 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp32.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 5949D5033D; Mon, 28 May 2012 20:29:28 -0400 (EDT) Message-ID: <4FC41869.40609@sugarcrm.com> Date: Mon, 28 May 2012 17:29:29 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Mathias Grimm CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC Skipping optional parameters for functions From: smalyshev@sugarcrm.com (Stas Malyshev) On 5/27/12 10:27 AM, Mathias Grimm wrote: > in response to https://wiki.php.net/rfc/skipparams I want to suggest > something as depicted below: > > function very_long_params(name:$n, age:$a, other:$o) The goal of this proposal is not to introduce named parameters. If we ever do introduce named parameters, the names will probably be the same as variables, and would use $ as the rest of PHP variables do. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227