Documents The url must be a array as returned by parse_url() a string or object implementing __toString(), „NULL“ given.