Skip to content

Instantly share code, notes, and snippets.

Embed
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;
}
@versluis
Copy link
Author

versluis commented Mar 20, 2019

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