Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Parses the string into variables
<?php parse_str(string $string, array &$result): void
<?php         $query = [];



        parse_str($url['query'], $query); // simply ingest query as extra params, e.g. charset or sslmode



        return array_merge($params, $query); // parse_str wipes existing array elements

    }
<?php         );



        $params = [];

        parse_str($queryString, $params);



        self::assertArrayHasKey('connectionParams', $params);