Re: ext/gd adding imagecompare

From: Date: Wed, 10 Jul 2024 15:24:04 +0000
Subject: Re: ext/gd adding imagecompare
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi

On Tue, 9 Jul 2024 at 19:16, Tim Düsterhus <[email protected]> wrote:

> Hi
>
> On 7/9/24 19:53, David CARLIER wrote:
> > Agreed, I ll likely just commit as is sometime this week.
>
> I hereby formally claim that this is not a simple self-contained
> feature. It does require an RFC.
>
> The addition of global IMAGE_CMP_* constants effectively introduces an
> entirely new "namespace" within the existing list of constants and thus
> I do not believe that consistency with the existing GD functionality is
> a valid reason. As such I believe they should follow the
> https://wiki.php.net/rfc/namespaces_in_bundled_extensions
> RFC and be
> placed inside the Gd namespace - or ideally be replaced by a proper
> enum or so.
>
> Best regards
> Tim Düsterhus
>

Alright, I hear you. Anyhow, there is a debate for having a full internal
version of a somewhat similar feature. We will see..


Thread (10 messages)

« previous php.internals (#124352) next »