Re: [PHP-DEV] Concerns about syncing bundled libgd to upstream 2.4 (GH-22532)

[email protected] (Matteo Beccati) Wed, 8 Jul 2026 12:22:50 +0200
Newsgroups php.internals
Message-ID <[email protected]>
Ciao Giovanni,

Il 08/07/2026 12:01, Giovanni Giacobbi ha scritto:
>   1) This code was introduced in the upstream repository less than a 
> month ago, so it is relatively "young"

Likewise, some of the code that will end up in 8.6 is "young" too.


>   2) libgd-2.4.0 was never released nor tagged, thus no major distros 
> are shipping it

Perhaps there are also plans to release libgd 2.4 soon enough?


>   3) PHP-8.6 already tagged alpha1, giving overall a short timespan to 
> test the new bundled library

We're currently ~5 weeks away from feature freeze, so there's still time 
for 8.6.


>   4) Introducing features in ext/gd that exist only in libgd-2.4 would 
> in fact force the bundled library as the only build option
The PR doesn't remove support for older non-bundled libgd versions: the 
new functionality won't be available, as it happens with all extensions 
supporting multiple versions of external libraries.



Cheers
-- 
Matteo Beccati