skip to Main Content

PHP unset not removing value from array loop

I have an array("https", "www", "stackoverflow", "com") $search_array = array("https", "www", "stackoverflow", "com"); for ($i=0; $i < count($search_array); $i++) { if ( $search_array[$i] == null || strtolower($search_array[$i]) == "http" && count($search_array) > 1 || strtolower($search_array[$i]) == "https" && count($search_array) >…

VIEW QUESTION
Back To Top
Search