On 11/23/06, Konstantin Käfer <[EMAIL PROTECTED]> 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
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
