Hey Tim,

On 18.02.2025 12:30, Tim Düsterhus wrote:
My question is: Why? Please also have a look at: https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#namespaces. Instead of creating a top-level namespace for both Brotli and Zstd it would probably make sense to create a new “Compression” extension that could also include a new and improved gzip (and bz2) API as a follow-up. The new ext/random could probably serve as an API example.

The main reason why is that we were mostly trying to keep this simple, so the RFC is simply what is currently in the extensions. But I fully agree with you, this doesn't look like the cleanest API, and it might be a good opportunity to clean things up.

I guess we'll go back to the drawing board and try to come up with an API proposal that fits in better.

Best,
Jordi

--
Jordi Boggiano
@seldaek - https://seld.be

Reply via email to