Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47782 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36763 invoked from network); 4 Apr 2010 23:35:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2010 23:35:40 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.117 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Received: from [63.205.162.117] ([63.205.162.117:51809] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/A1-41826-A4229BB4 for ; Sun, 04 Apr 2010 19:35:39 -0400 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id 1210C43CD2; Sun, 4 Apr 2010 16:34:43 -0700 (PDT) Received: from [192.168.27.8] ([192.168.27.8]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 4 Apr 2010 16:35:36 -0700 Message-ID: <4BB92247.7030909@zend.com> Date: Sun, 04 Apr 2010 16:35:35 -0700 Organization: Zend Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Pierre Joye CC: Hannes Magnusson , GM , internals@lists.php.net, Rasmus Lerdorf References: <745C5243-EB51-4D43-B036-8A34CDBBB547@gregory.net> <4BB68D61.2070301@lerdorf.com> <4BB6938F.7090404@zend.com> <4BB90DB7.6060706@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Apr 2010 23:35:36.0304 (UTC) FILETIME=[86D43700:01CAD44F] Subject: Re: [PHP-DEV] Named Parameters From: stas@zend.com (Stanislav Malyshev) Hi! > http://diveintopython.org/power_of_introspection/optional_arguments.html This approach could work too, except that simple literal means constant in PHP, unlike Python. So array syntax might be more natural, but both can work I guess. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com