Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  ext/gd/tests/gh10614.phpt: skip if no PNG support
This commit is contained in:
Niels Dossche 2024-07-10 19:51:11 +02:00
commit 361644b78d
No known key found for this signature in database
GPG Key ID: B8A8AD166DF0E2E5
2 changed files with 6 additions and 0 deletions

3
NEWS
View File

@ -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)

View File

@ -5,6 +5,9 @@ gd
--SKIPIF--
<?php
if (!GD_BUNDLED && version_compare(GD_VERSION, '2.3.4', '>=')) die("skip test requires GD 2.3.4 or older");
if (!(imagetypes() & IMG_PNG)) {
die("skip No PNG support");
}
?>
--FILE--
<?php