Re: echo returnArray()['a']; // workaround
| From: | Nathan Nobbe | Date: | Fri, 29 Feb 2008 00:03:46 +0000 |
| Subject: | Re: echo returnArray()['a']; // workaround | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270668@lists.php.net to get a copy of this message | ||
On Thu, Feb 28, 2008 at 6:14 PM, Nathan Rixham <nrixham@gmail.com> wrote:
> if I show you guys how to do this:
>
> echo sillyFunc()['a'] . PHP_EOL;
>
> using a few brackets and things do you promise not to laugh?
> *it's a bit weird*
id like to see it.
-nathan