diff --git a/NEWS b/NEWS index db78d1404db..7cb17374127 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,9 @@ PHP NEWS - Dom: . Fixed bug GH-14702 (DOMDocument::xinclude() crash). (nielsdos) +- Gd: + . ext/gd/tests/gh10614.phpt: skip if no PNG support. (orlitzky) + - LibXML: . Fixed bug GH-14563 (Build failure with libxml2 v2.13.0). (nielsdos) diff --git a/ext/gd/tests/gh10614.phpt b/ext/gd/tests/gh10614.phpt index c0689141837..1b91115d748 100644 --- a/ext/gd/tests/gh10614.phpt +++ b/ext/gd/tests/gh10614.phpt @@ -5,6 +5,9 @@ gd --SKIPIF-- =')) die("skip test requires GD 2.3.4 or older"); +if (!(imagetypes() & IMG_PNG)) { + die("skip No PNG support"); +} ?> --FILE--