explode return empty array code example Example: explode return empty array $array = array_filter( explode(",", $string ));