Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21493 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94289 invoked by uid 1010); 12 Jan 2006 17:48:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94274 invoked from network); 12 Jan 2006 17:48:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2006 17:48:52 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:37226] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 66/71-29075-28696C34 for ; Thu, 12 Jan 2006 12:48:50 -0500 Received: from [192.168.11.3] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k0CHk2n8016791; Thu, 12 Jan 2006 09:48:45 -0800 In-Reply-To: <43C688AE.80403@php.net> References: <11370812947200000@9866357972520000.9866341568840000> <43C688AE.80403@php.net> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: "Frank M. Kromann" , Jared.Williams1@ntlworld.com, "'Aidan Lister'" , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Thu, 12 Jan 2006 09:46:37 -0800 To: Hartmut Holzgraefe X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: ClamAV 0.88/1239/Thu Jan 12 03:36:22 2006 on colo X-Virus-Status: Clean Subject: Re: [PHP-DEV] Re: Named arguments revisited From: andrei@gravitonic.com (Andrei Zmievski) Hartmut, there are only 2 or 3 of those functions where the order differs. -Andrei On Jan 12, 2006, at 8:49 AM, Hartmut Holzgraefe wrote: > Frank M. Kromann wrote: >> And if you have many parameters to functions you still need to >> look at the >> definition (or documentation) to figure out what parameters the >> function >> takes. It's not a big problem to look at the order at the same time. > > lets face the opposite direction for a second: > > all those string functions with different order of haystack and needle > > named parameters could help to reduce the criticism we get for this > poor choice of parameter order in the past ... > > -- > Hartmut Holzgraefe, Senior Support > Engineer . > MySQL AB, www.mysql.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php