> -----Original Message-----
> From: dukeofgaming [mailto:dukeofgam...@gmail.com]
> Sent: Monday, June 06, 2011 12:18 AM
> To: Chris Stockton
> Cc: Jordi Boggiano; Sean Coates; PHP internals
> Subject: Re: [PHP-DEV] Object and Array Literals
> 
> I like the idea of supporting both "=>" and ":". Would this work?:
> 
>   $foo = {
>     'bar' : function(){
>        echo 'baz';
>     }
>   };
> 
>   $foo->bar();

I guess it's not yet too late to surpass Perl in the front of obscurity...

Zeev

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

Reply via email to