PHP parse_url fix: Unable to Parse URL

php_parse_url_warnings

On PHP versions prior to PHP 5.3.3, the parse_url function generates warnings when dealing with invalid URLs. Since this function should return FALSE when having a seriously malformed URL as an argument, a quick solution is to suppress warnings by […]