Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17999 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18871 invoked by uid 1010); 13 Aug 2005 21:41:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18856 invoked from network); 13 Aug 2005 21:41:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2005 21:41:53 -0000 X-Host-Fingerprint: 66.80.117.3 longsword.omniti.com Linux 2.5 (sometimes 2.4) (4) Received: from ([66.80.117.3:55697] helo=mail.omniti.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 29/57-33075-1296EF24 for ; Sat, 13 Aug 2005 17:41:53 -0400 Authentication-Results: mail.omniti.com smtp.user=george; auth=pass (LOGIN) DomainKey-Status: good X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=test; d=omniti.com; h=Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=CaAOmtMJOjzGlgzXa7Ym5p1u9HieZjU7R7L3uFpVReukOTDyZywTOOvJOf47WpnA q/4bLVRGH81T2tRr7c1/SL6nNvNbe10cjQ6wcdeRnGhYzW7PouNZOgzi54KOyWM/ Received: from ([66.80.117.2:65275] helo=[192.168.219.134]) by mail.omniti.com (ecelerity 2.0 r(6416M)) with SMTP id 24/20-29456-70B5EF24 for ; Sat, 13 Aug 2005 16:41:46 -0400 In-Reply-To: References: <42FCE0E4.604@lerdorf.com> <42FDDF11.2050308@cschneid.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <6E8568FA-5893-476A-A88F-E5504C638F37@omniti.com> Cc: George Schlossnagle , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Sat, 13 Aug 2005 16:41:39 -0400 To: Matthew Weier O'Phinney X-Mailer: Apple Mail (2.733) Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist From: george@omniti.com (George Schlossnagle) On Aug 13, 2005, at 11:46 AM, Matthew Weier O'Phinney wrote: > * Christian Schneider : > >> 9. Named parameters. Preferred way would be via array()-less array >> collation as we are already using this in our production system ;-) : >> foo('id' => 42, 'name' => "foo"); >> > > +1 -- this is one of the biggest things I miss coming from perl to > PHP. Huh? Perl doesn't have true support for this anyway, just a simpler syntax for hashrefs. If you want Perlish named params this is 100% identical to doing foo(array('id' => 42, 'name' => 'foo')); George