[PHP] regex in_array or array_search

2002-07-17 Thread Dave [Hawk-Systems]

other than each'ing an array and performing a regex match, is there an easier
way to parse through the values in an array for a value matching
*something*somethingelse*

thanks

Dave


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] regex in_array or array_search

2002-07-17 Thread Chris Boget

 other than each'ing an array and performing a regex match, is there an easier
 way to parse through the values in an array for a value matching
 *something*somethingelse*

No, I don't believe so.  But I'm sure you can set up something to use with
array_walk().

Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php