Yep. I should have finished reading my messages first :) 

> -----Original Message-----
> From: Pierre [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, February 04, 2007 7:24 AM
> To: Hannes Magnusson
> Cc: Andi Gutmans; internals@lists.php.net
> Subject: Re: [PHP-DEV] Syntactic improvement to array
> 
> On 2/4/07, Hannes Magnusson <[EMAIL PROTECTED]> 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
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to