wp-includes/PHPMailer/DSNConfigurator.php:228Parse a URL.
$urlstringarray|false protected function parseUrl($url) { if (\PHP_VERSION_ID >= 50600 || false === strpos($url, '?')) { return parse_url($url); } $chunks = explode('?', $url); if (is_array($chunks)) { $result = parse_url($chunks[0]); if (is_array($result)) { $result['query'] = $chunks[1]; } return $result; } return false; }Unchanged from 6.9.7 through 7.1.0.
Signature, return type and hooks compared across 3 parsed releases.
src/wp-includes/PHPMailer/DSNConfigurator.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.