PHP library currently sorts query parameters. This means that the URLs generated by PHP and JavaScript might differ. This could cause issues, especially with image preloading. For instance, the URL in an img tag might not match the URL in a link tag, even though both point to the same image.
[x] Update or add any necessary API documentation (if applicable)
[x] All existing unit tests are still passing (if applicable).
[x] Add some steps so we can test your bug fix or feature (if applicable).
[x] Add new passing unit tests to cover the code introduced by your PR (if applicable).
[x] Any breaking changes are specified on the commit on which they are introduced with BREAKING CHANGE in the body of the commit.
[x] If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.
Description
PHP library currently sorts query parameters. This means that the URLs generated by PHP and JavaScript might differ. This could cause issues, especially with image preloading. For instance, the URL in an
img
tag might not match the URL in alink
tag, even though both point to the same image.Checklist
BREAKING CHANGE
in the body of the commit.