Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36762 invoked by uid 1010); 23 Jun 2004 19:37:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36737 invoked from network); 23 Jun 2004 19:37:17 -0000 Received: from unknown (HELO hyperion-data.net) (204.200.195.9) by pb1.pair.com with SMTP; 23 Jun 2004 19:37:17 -0000 Received: from hyperion-data.net (localhost [127.0.0.1]) by hyperion-data.net (8.12.11/8.12.6) with ESMTP id i5NJbEdf024476; Wed, 23 Jun 2004 19:37:15 GMT (envelope-from daniel@hyperion-data.net) Received: from localhost (daniel@localhost) by hyperion-data.net (8.12.11/8.12.6/Submit) with ESMTP id i5NJbAVN024443; Wed, 23 Jun 2004 19:37:13 GMT (envelope-from daniel@hyperion-data.net) Date: Wed, 23 Jun 2004 19:37:10 +0000 (GMT) To: Christian Schneider cc: internals@lists.php.net In-Reply-To: <40D9A954.1040403@cschneid.com> Message-ID: <20040623193350.D22728@hyperion-data.net> References: <20040623150429.E62456@hyperion-data.net> <40D9A954.1040403@cschneid.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: keyword arguments? From: daniel@hyperion-data.net (Daniel Crookston) Actually, that would be acceptable, since you lose the bulk of array(). The only thing that remains a problem is that if you add another (non-named) parameter, you still need to worry about the relative positions in all of your functions. Now that I think about it, that's actually a bigger complaint for me than having to use array(). Thoughts? Comments? Flames? Daniel P.S. Thank you for the link to the patches :) > --------------------------------------------------------------------- > > I'm still in favor of an approach we are using here where you can pass > associative arrays without array():