Skip to content

Instantly share code, notes, and snippets.

Nate Nolting withremote

Block or report user

Report or block withremote

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
withremote / gist:3034778
Created Jul 2, 2012
If String Contains
View gist:3034778
function if_string_contains($needle,$haystack) {
if (is_array($needle)) {
$found_cout = 0;
foreach ($needle as $n) {
if (strlen(strstr($haystack,$n))>0) {
You can’t perform that action at this time.