Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68910 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22530 invoked from network); 6 Sep 2013 16:59:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2013 16:59:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=garoevans@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=garoevans@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: garoevans@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:43160] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/03-05619-00A0A225 for ; Fri, 06 Sep 2013 12:59:45 -0400 Received: by mail-lb0-f177.google.com with SMTP id p5so3053292lbi.36 for ; Fri, 06 Sep 2013 09:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a0/spQ+VlQiBhJBYJ7l1LnVrnGGgvIi0AOYl8jxvaYo=; b=O6ko7BsVIYYdwdB7/iWVNR9/ys70CGNDNEYc5cnYN+R3pbO5Bk538vyWBPfKmAihyy 3c5AJt2VSbJ45NIn+qspWD4HicC+aQxxQaar+xc9pmfZDMqDNCPf+bw/fpFKdRFbtuPx Tsr36Or5jxErEFEY/E0RfLVhOUx74tHPspeTs/d4Wm8RgkVB6MC7rIIEfQryG2hZD40K QXphsoDAaT0oI1DbyRWi90aM4m7QDNBbicsH5URWNocdJQTbj+jVHym8c/5MM3OhineZ COeOgvRdzWn2Ezt2lwypss0XUB0nMwV+DTU2oVpOL1zlI5O3BCzEB4qSXb+nElMJquB+ psFg== MIME-Version: 1.0 X-Received: by 10.152.36.98 with SMTP id p2mr3019630laj.14.1378486781623; Fri, 06 Sep 2013 09:59:41 -0700 (PDT) Received: by 10.112.209.4 with HTTP; Fri, 6 Sep 2013 09:59:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Sep 2013 17:59:41 +0100 Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Named parameters From: garoevans@gmail.com (Gareth Evans) I like! My preference on syntax is; test(:foo => "oof", :bar => "rab"); I don't think; test("foo" => "oof", "bar" => "rab"); denotes enough emphasis on any part in-particular, and the downsides of other implementations are mentioned, such as variable names and collisions with reserved keywords. Thanks, Gareth On 6 September 2013 17:39, Nikita Popov wrote: > Hi internals! > > I created an RFC and preliminary implementation for named parameters: > > https://wiki.php.net/rfc/named_params > > The RFC and implementation are not yet complete. I mainly want to have > feedback on the idea in general and on the Open Questions ( > https://wiki.php.net/rfc/named_params#open_questions) in particular. > > Thanks, > Nikita