On Tue, 2008-04-29 at 22:13 -0400, Jessie Hernandez wrote:
> Sam Barrow wrote:
> > Well in summation I think this is something that should be implemented,
> > I don't see any arguments against implementing this atleast for arrays
> > and classes, like we already have for function parameters.
> > 
> > The only thing left would be to decide on the syntax
> > 
> > public array function x() { // Probably the easiest
> > public array x() { // I like this best, if it's possible
> > public function x() return array { // Probably not, just throwing it out
> > there
> > 
> > Agree?
> > 
> 
> How about using the ActionScript syntax?
> 
> public function x():array { ... }
> 

I like that, but in that case we might as well leave out the colon.

> -- 
> 
> Jessie Hernandez
> Zend Certified Engineer (http://zend.com/zce.php?c=ZEND006359&r=222727282)
> 
> 


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

Reply via email to