Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
helper function to test if a string is contained in another string
function isThisInThat ($needle, $haystack) {
return strpos($haystack, $needle) !==false;
Copy link

versluis commented Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment