Re: Feature request

From: Date: Fri, 10 Nov 2006 11:06:36 +0000
Subject: Re: Feature request
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-26458@lists.php.net to get a copy of this message
Zitat von Dmitry Shirokov <deadrunk@gmail.com>:
Hey guys. What are you thinking about adding this feature: <?php function foo() { return array(1,2,3,4,5,6); } echo foo()[4]; // <---- it that // or may be (foo())[4] ? // instead of $var = foo(); echo $var[4]; ?>
Yes, please, that would be most important shorthand functionality after dereferencing. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/

« previous php.internals (#26458) next »