ivailo91@xxxxxxxxx wrote:
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?
Not sure what you are trying to do.
1. Are you trying to explode the values of an array.(doesn't make sense
I know)
2. Search for a value in a array and then return them as a new array -
there are other php function for this.
Please explain more clearly what your intentions are?
Best Regards,
Ivailo Karamanolev
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php