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;

This comment has been minimized.

Copy link
Owner Author

@versluis versluis commented Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.