Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21513 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69305 invoked by uid 1010); 13 Jan 2006 12:37:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69290 invoked from network); 13 Jan 2006 12:37:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2006 12:37:13 -0000 X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:40508] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A5/8D-25674-9FE97C34 for ; Fri, 13 Jan 2006 07:37:13 -0500 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 08015DF0120; Fri, 13 Jan 2006 13:37:11 +0100 (CET) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12123-10; Fri, 13 Jan 2006 13:36:50 +0100 (CET) Received: from [127.0.0.1] (i577B73E4.versanet.de [87.123.115.228]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 59FB6DF010F; Fri, 13 Jan 2006 13:36:50 +0100 (CET) Message-ID: <43C79EE0.909@php.net> Date: Fri, 13 Jan 2006 13:36:48 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Hartmut Holzgraefe Cc: internals@lists.php.net References: <43C67431.9090003@prohost.org><3A366ACB-20D4-42C7-BBAE-46F643E3A91F@intuitivefuture.com><878581203.20060112153625@ionzoft.com> <7.0.0.16.2.20060112154219.029d06c8@zend.com><43C75FEE.7040908@php.net> <6C.F4.25674.EFD67C34@pb1.pair.com> <43C786E5.1020400@mysql.com> <43C7975A.2070504@php.net> <43C79801.7070101@mysql.com> <43C79A23.6010701@php.net> <43C79DC8.6000207@php.net> In-Reply-To: <43C79DC8.6000207@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] Re: Named arguments revisited From: lsmith@php.net (Lukas Smith) Hartmut Holzgraefe wrote: > Lukas Smith wrote: >> Its sole purpose is to deal with situations where you have a >> considerable number of parameters. > > well, i for one would love to write something like > > $pos = strpos(haystack=$str, needle="foobar"); > > instead of looking up parameter orders all the time :) I would specifically not go there. This would create the inconsistant situation you describe. It would be fixing one past mistake with a new evil. As noted the cases are not as wide as most people make it sound, also its not really related to this discussion. regards, Lukas