parse_url() returns an array containing "user"and "pass" keys. The keys are already correctly handled in ParseURLbetter().
Depending on the errorlevel, trying to get username/password causes warnings (on PHP 7.3) to be prepended to the output, which leads to invalid data.
parse_url() returns an array containing "user"and "pass" keys. The keys are already correctly handled in ParseURLbetter(). Depending on the errorlevel, trying to get username/password causes warnings (on PHP 7.3) to be prepended to the output, which leads to invalid data.
https://www.php.net/manual/de/function.parse-url.php