Re: Feature request
| From: | Evert | FileMobile | Date: | Thu, 09 Nov 2006 23:05:04 +0000 |
| Subject: | Re: Feature request | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26442@lists.php.net to get a copy of this message | ||
Edin Kadribasic wrote:
Dmitry Shirokov wrote:EvertHey 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];+1 I would very much like this feature in PHP. Edin Me too, I know I don't have any voting rights here, but I'm running into this one every day.