Use array returned by function directly?

From: Date: Mon, 29 Jan 2007 13:03:48 +0000
Subject: Use array returned by function directly?
Groups: php.general 
Request: Send a blank email to php-general+get-247934@lists.php.net to get a copy of this message
What's the best way to achieve something like this: explode($needle, $array)[3] It's too clumsy to use temporary array, and I suppose, quite slow. Is there any option, or I'll have to stick to temporary arrays? Best Regards, Ivailo Karamanolev

« previous php.general (#247934) next »