Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47772 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8746 invoked from network); 4 Apr 2010 02:00:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2010 02:00:35 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:53490] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/8E-41826-2C2F7BB4 for ; Sat, 03 Apr 2010 21:00:35 -0500 Received: by wwc33 with SMTP id 33so2021779wwc.29 for ; Sat, 03 Apr 2010 19:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:received:message-id:subject:from:to:cc:content-type; bh=r0mJugC3o3vQHIhs988kw/kruWovNFBS0a/oUwq7nB0=; b=A9hOhBXasu58SjcHd9fFihIAvhSaTaAaFFp2hgL0M8j0Z6K+PwbBNs5P2xD9pT/DOZ wcSrqyvzMBULVWq32ocX7Ps2q5emH+RRY7o170ApfqjDSDFQrA65LvVMCcOR9qMeQ2Dj 73E25ZOaYYIsPdZ6ot92PkteAn86R9yBVWHU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gmU6n+lKbeCwSsdLbF1ut4S0FUgZzrUBM2AVzj9frv43mHgRV5qs/plOXffvTUxT6p pN5F+/qcIef5jxdvqhqM74yChNgVsGYj9aBsCmQabSHFIGrfO4r+qQ905h0JpdjT9m7h tXO6gS46vQj8culNLNVXho0Q9Lwki9xGFfOm8= MIME-Version: 1.0 Received: by 10.216.172.193 with HTTP; Sat, 3 Apr 2010 19:00:30 -0700 (PDT) Received: by 10.216.172.193 with HTTP; Sat, 3 Apr 2010 19:00:30 -0700 (PDT) In-Reply-To: <4BB6938F.7090404@zend.com> References: <745C5243-EB51-4D43-B036-8A34CDBBB547@gregory.net> <4BB68D61.2070301@lerdorf.com> <4BB6938F.7090404@zend.com> Date: Sun, 4 Apr 2010 02:00:30 +0000 Received: by 10.216.87.194 with SMTP id y44mr2423186wee.157.1270346430987; Sat, 03 Apr 2010 19:00:30 -0700 (PDT) Message-ID: To: Stanislav Malyshev Cc: GM , internals@lists.php.net, Rasmus Lerdorf Content-Type: multipart/alternative; boundary=0016e6d56693c2bd7304835f938e Subject: Re: [PHP-DEV] Named Parameters From: hannes.magnusson@gmail.com (Hannes Magnusson) --0016e6d56693c2bd7304835f938e Content-Type: text/plain; charset=ISO-8859-1 I don't think thad would require thad much work. we allready have arginfo that does type hinting... Modifieing that to support rewrtiting param order based on reflection Info shouldn't be that hard... The problem however is when an function accepts varargs (usually named "...")..... if we however bring in strictct-ish naming convention I don't see any immediate problems.... On Apr 3, 2010 1:02 AM, "Stanislav Malyshev" wrote: Hi! > I really doubt named parameters would have much of an impact on > anything, but I'd be willing t... I think they'd allow to manage complex parameter sets more efficiently than with those $options arrays. But that'd probably require changing the way how parameters are passed, since the stack won't work too good anymore for it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net... --0016e6d56693c2bd7304835f938e--