> On 29 Jun 2024, at 04:48, Niels Dossche <dossche.ni...@gmail.com> wrote: > > - It's a bit of a shame that the PSR interface treats queries as strings. > In Javascript we have the URLSearchParams class that we can use as a > key-value storage for query parameters. > This Javascript class also handles escaping them nicely. Agreed this is a weird choice to me, but I'm also not surprised by weird choices via php-fig (log level constants I'm looking at you) We hear all the time how userland is more flexible and can change quicker - and yet here we see a potential built in class having a worse api because it wants to be compatible with an existing userland interface with the same bad api.... Cheers Stephen
- [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant ... Máté Kocsis
- Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG c... Marco Pivetta
- Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG c... Lynn
- Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG c... Niels Dossche
- Re: [PHP-DEV] [RFC] [Discussion] Add WHAT... Bilge
- Re: [PHP-DEV] [RFC] [Discussion] Add WHAT... Stephen Reay
- Re: [PHP-DEV] [RFC] [Discussion] Add ... Rob Landers
- Re: [PHP-DEV] [RFC] [Discussion] Add ... ignace nyamagana butera
- Re: [PHP-DEV] [RFC] [Discussion] ... Máté Kocsis
- Re: [PHP-DEV] [RFC] [Discuss... Rob Landers
- Re: [PHP-DEV] [RFC] [Dis... Rob Landers
- Re: [PHP-DEV] [RFC] [Discuss... ignace nyamagana butera
- Re: [PHP-DEV] [RFC] [Dis... Rob Landers
- Re: [PHP-DEV] [RFC] [Discuss... Nicolas Grekas
- Re: [PHP-DEV] [RFC] [Discussion] ... Máté Kocsis
- Re: [PHP-DEV] [RFC] [Discuss... Larry Garfield