Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21530 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97441 invoked by uid 1010); 14 Jan 2006 12:03:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97426 invoked from network); 14 Jan 2006 12:03:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jan 2006 12:03:11 -0000 X-Host-Fingerprint: 64.233.162.206 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.206:27831] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 9C/81-04704-F78E8C34 for ; Sat, 14 Jan 2006 07:03:11 -0500 Received: by zproxy.gmail.com with SMTP id z31so812886nzd for ; Sat, 14 Jan 2006 04:03:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YEFRxJgrP6EQxUsHbU7BtwmE6KYdwur31VYipcnLFACTl5wlVD40xz3pKwhCiMe7tgRa9q6HMgQS+aJEMZmdl9xGNQEubgbJdeQIAEarhUKxRaCabHbQyCgxtk4t36hLiN7kUJCb+EokV+fV6XSiEvWbM0dd2gny8WNBozAuu+E= Received: by 10.36.74.7 with SMTP id w7mr3390931nza; Sat, 14 Jan 2006 04:03:07 -0800 (PST) Received: from ?192.168.1.138? ( [84.174.102.130]) by mx.gmail.com with ESMTP id 8sm3534455nzn.2006.01.14.04.03.05; Sat, 14 Jan 2006 04:03:06 -0800 (PST) Message-ID: <43C8E805.8060300@gmail.com> Date: Sat, 14 Jan 2006 13:01:09 +0100 User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 To: Hartmut Holzgraefe CC: Jared White , Lukas Smith , 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> <43C811E1.7010200@php.net> In-Reply-To: <43C811E1.7010200@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Named arguments revisited From: stefan.walk@gmail.com (Stefan Walk) Hartmut Holzgraefe wrote: > Jared White wrote: >> While ideally it'd be nice to have named parameters used in the core >> of PHP, I realize that's probably an impossible task at the moment. So >> I agree that the main goal is to allow users to define APIs in PHP >> using this feature. If that's all we had, it'd be good enough I think. >> (At least, it'd certainly serve my needs. :) ) > > So far there is no difference between a user level and an internal > function from a callers point of view, adding such an asymmetry now > really doesn't sound like the right thing to do ... > There is. Internal functions can take optional parameters per reference, user level functions can not. (see preg_match, for example). Regards, Stefan