Azure / azure-storage-php

Microsoft Azure Storage Library for PHP
MIT License
217 stars 198 forks source link

Update build query support function #311

Closed fadighattas100 closed 3 years ago

spaze commented 3 years ago

PHP's http_build_query() is not the same thing as \GuzzleHttp\Psr7\Query::build, quoting the documentation:

 * This function can use the return value of `parse()` to build a query
 * string. This function does not modify the provided keys when an array is
 * encountered (like `http_build_query()` would).

If you're trying to resolve the problem with guzzlehttp/psr7 being upgraded to 2.0, there's already a PR for that (#302) and a workaround until that PR is merged and released https://github.com/Azure/azure-storage-php/issues/299#issuecomment-879122510