Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Parse a URL and return its components
<?php parse_url(string $url, int $component = -1): int|string|array|null|false
<?php                 $dumper = new CliDumper();

                break;

            case 'server' === $format:

            case $format && 'tcp' === parse_url($format, \PHP_URL_SCHEME):

                $host = 'server' === $format ? $_SERVER['VAR_DUMPER_SERVER'] ?? '127.0.0.1:9912' : $format;

                $dumper = \in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) ? new CliDumper() : new HtmlDumper();

                $dumper = new ServerDumper($host, $dumper, self::getDefaultContextProviders());