mirror of
https://github.com/predis/predis.git
synced 2026-08-26 05:19:49 +00:00
5e90e615b1
Using list() with the warning suppressor is slower than using isset() to check the presence of the first two elements of the array returned by explode(). This also allow us to skip incomplete query string pairs when parsing the URI string. We have also changed the exception being thrown on invalid URIs to a more appropriate one.