Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16019 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93194 invoked by uid 1010); 18 Apr 2005 18:58:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93177 invoked from network); 18 Apr 2005 18:58:32 -0000 Received: from unknown (HELO hristov.com) (127.0.0.1) by localhost with SMTP; 18 Apr 2005 18:58:32 -0000 X-Host-Fingerprint: 85.92.69.73 iko.gotobg.net Linux 2.4/2.6 Received: from ([85.92.69.73:35731] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id CD/15-18700-75304624 for ; Mon, 18 Apr 2005 14:58:31 -0400 Received: from p54a0c1d5.dip.t-dialin.net ([84.160.193.213] helo=[192.168.0.41]) by iko.gotobg.net with esmtpa (Exim 4.43) id 1DNbS3-0005Yd-MJ; Mon, 18 Apr 2005 21:58:32 +0300 Message-ID: <4264034A.600@hristov.com> Date: Mon, 18 Apr 2005 20:58:18 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050219 MIME-Version: 1.0 CC: garbageman@gauldong.net, internals@lists.php.net References: <3c4c8fa605041809405048f671@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] named parameters? From: php@hristov.com (Andrey Hristov) Derick Rethans wrote: > 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 > As far as I remember this was brought to the list first by Thies and later by me, back in the days when PHP 5 was still on the design table. It was said that it is so late, and should wait for PHP 6 :) . PHP 5 took 4 years after PHP 4. So PHP 6 may take another 5 years after PHP 5 -> 2009 :). Andrey