Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16017 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82531 invoked by uid 1010); 18 Apr 2005 18:49:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82516 invoked from network); 18 Apr 2005 18:49:10 -0000 Received: from unknown (HELO php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2005 18:49:10 -0000 X-Host-Fingerprint: 82.94.239.5 unknown Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:33159] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id 43/44-18700-52104624 for ; Mon, 18 Apr 2005 14:49:10 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j3IIp7wR025025 for ; Mon, 18 Apr 2005 20:51:07 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j3IIp2Wr024986; Mon, 18 Apr 2005 20:51:02 +0200 Date: Mon, 18 Apr 2005 20:49:02 +0200 (CEST) X-X-Sender: derick@localhost To: garbageman@gauldong.net cc: internals@lists.php.net In-Reply-To: <3c4c8fa605041809405048f671@mail.gmail.com> Message-ID: References: <3c4c8fa605041809405048f671@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jci-ict.nl Subject: Re: [PHP-DEV] named parameters? From: derick@php.net (Derick Rethans) On Mon, 18 Apr 2005, Hendy Irawan wrote: > Does anybody want named parameters? > > These are handy as template functions (like in Smarty), and these are > achievable since the oldest PHP by using associative arrays. It's > purely syntactic sugar, but it's a very convenient thing I guess (and > promotes long, long lists of parameters as well ;-) This was suggested before, and declined. Please search the archives. Derick