azure-storage-common/src/Common/Internal/ConnectionStringParser.php
public static function parseConnectionString($argumentName, $connectionString)
    {
        Validate::canCastAsString($argumentName, 'argumentName');
        Validate::notNullOrEmpty($argumentName, 'argumentName');
        Validate::canCastAsString($connectionString, 'connectionString');
        Validate::notNullOrEmpty($connectionString, 'connectionString');

        $parser = new ConnectionStringParser($argumentName, $connectionString);
        return $parser->_parse();
    }
public static function parseConnectionString($argumentName, $connectionString)
    {
        Validate::canCastAsString($argumentName, 'argumentName');
        Validate::notNullOrEmpty($argumentName, 'argumentName');
        Validate::canCastAsString($connectionString, 'connectionString');
        Validate::notNullOrEmpty($connectionString, 'connectionString');

        $parser = new ConnectionStringParser($argumentName, $connectionString);
        return $parser->_parse();
    }
Parses the connection string into a collection of key/value pairs.

@param string $argumentName     Name of the argument to be used in error
messages.
@param string $connectionString Connection string.

@return array