PHP: strpos that takes array as an argument

By | December 20, 2010

Just found one useful function and would kike to share it. If you often use strpos, you might find this useful.

This function will be useful if you need to find whether ANY element of array is presented in the source string. Else you have to either modify it, or create another one.