Re: [BULK] [PHP] Use array returned by function directly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux