Something
public php v1 · immutablefunction check_url($url_to_check) { $check_strings = array( 0 => "yahoo", 1 => "google" ); static $contains_yahoo_status = '0'; $url_check_yahoo = strpos($url_to_check, $check_strings['0']); if ($url_check_dillards == false) { $contains_yahoo_status = '0'; } else { $contains_yahoo_status = '1'; };}