Re: Feature request
| From: | Hannes Magnusson | Date: | Thu, 23 Nov 2006 20:51:26 +0000 |
| Subject: | Re: Feature request | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26711@lists.php.net to get a copy of this message | ||
On 11/23/06, Konstantin Käfer <kkaefer@gmail.com> wrote:
-0.3 :-) The thing is, I see this ending up with people starting to write unintelligible code: echo {$$(foo()[4])}()[17][13]; However, I could image code like: echo parse_url($url)['host']; That saves me storing the return value in a new variable and then echoing it.echo parse_url($url, PHP_URL_HOST); \o/ -Hannes
Konstantin Käfer – http://kkaefer.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php