Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27743 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62877 invoked by uid 1010); 4 Feb 2007 15:24:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62862 invoked from network); 4 Feb 2007 15:24:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2007 15:24:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.236 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.162.236 nz-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.162.236] ([64.233.162.236:35565] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/25-30772-7AAF5C54 for ; Sun, 04 Feb 2007 10:24:23 -0500 Received: by nz-out-0506.google.com with SMTP id k1so1435112nzf for ; Sun, 04 Feb 2007 07:24:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GSrbpL9gbROFXz+/WQA9JFc10puOHlb2O9UabF9uVLUUllvBV5z4QZoIsBMYJnP4HyrJfo9LfVzF943SY1LWeaLUqQV8vszsJEK8aVZOPmMDJYs9xhr8+L/FB64UpRt4m18dukMnoifU0cxZJOorQWVcyd47WjLRygjsPTzmEsY= Received: by 10.65.43.17 with SMTP id v17mr9168306qbj.1170602660727; Sun, 04 Feb 2007 07:24:20 -0800 (PST) Received: by 10.65.185.15 with HTTP; Sun, 4 Feb 2007 07:24:20 -0800 (PST) Message-ID: Date: Sun, 4 Feb 2007 16:24:20 +0100 To: "Hannes Magnusson" Cc: "Andi Gutmans" , internals@lists.php.net In-Reply-To: <7f3ed2c30702040630v86dc12ckfb5eca200722ecc6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <011701c7482d$a39f6910$6500a8c0@zend.2k> <7f3ed2c30702040630v86dc12ckfb5eca200722ecc6@mail.gmail.com> Subject: Re: [PHP-DEV] Syntactic improvement to array From: pierre.php@gmail.com (Pierre) On 2/4/07, Hannes Magnusson wrote: > Hi Andi > > function typeHinted([] $array = []) { // type hint array, default to empty one That's a wrong example. Type hinting should still rely on the literal name: function typeHinted(Array $myarray=[]) --Pierre