thephpleague / uri-src

URI manipulation Library
https://uri.thephpleague.com
MIT License
27 stars 8 forks source link

Fix broken code that assumes array keys are strings #120

Closed GrahamCampbell closed 1 year ago

GrahamCampbell commented 1 year ago

I know that array_merge and array_unique have bad complexity, however typically templates have low numbers of variables, like sub-100, so I don't think this will be an issue, and may actually be faster than the array_reduce with small numbers of variables.


Closes #119.

nyamsprod commented 1 year ago

thanks for the report and the PR. I will review ASAP 👍🏾