diff --git a/NEWS b/NEWS index dbfdcbdb711..72e66f984c2 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,10 @@ PHP NEWS - Bz2: . Fix truncation of total output size causing erroneous errors. (ndossche) +- GD: + . Fixed bug GH-21431 (phpinfo() to display libJPEG 10.0 support). + (David Carlier) + - Opcache: . Fixed bug GH-21052 (Preloaded constant erroneously propagated to file-cached script). (ilutov) diff --git a/ext/gd/libgd/gd_jpeg.c b/ext/gd/libgd/gd_jpeg.c index f0974c2a99d..c15a97c7b59 100644 --- a/ext/gd/libgd/gd_jpeg.c +++ b/ext/gd/libgd/gd_jpeg.c @@ -125,6 +125,10 @@ const char * gdJpegGetVersionString() return "9 compatible"; break; + case 100: + return "10 compatible"; + break; + default: return "unknown"; }