Re: Re: [BULK] [PHP] Use array returned by function directly?
| From: | Roman Neuhauser | Date: | Mon, 29 Jan 2007 15:31:54 +0000 |
| Subject: | Re: Re: [BULK] [PHP] Use array returned by function directly? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247943@lists.php.net to get a copy of this message | ||
# neuhauser@sigpipe.cz / 2007-01-29 15:27:21 +0000:
> # crash
> #assert(2 == returns_array()['c']);
> # still crash
> #assert(2 == returns_array()['c']);
s/crash/syntax error/
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991