Commit ac8248bb63b for php.net

commit ac8248bb63b6fb6743d75e5c4c4a1d02011932d5
Author: Michael Orlitzky <michael@orlitzky.com>
Date:   Fri May 8 17:08:03 2026 -0400

    ext/gd: imagebmp_basic.phpt test require PNG support.

    After c1c6520c4f3, libgd needs PNG support to pass this test. Skip the
    test if we are using (external) libgd without it.

    close GH-22016

diff --git a/ext/gd/tests/imagebmp_basic.phpt b/ext/gd/tests/imagebmp_basic.phpt
index ff302a8b074..82b14f06b3c 100644
--- a/ext/gd/tests/imagebmp_basic.phpt
+++ b/ext/gd/tests/imagebmp_basic.phpt
@@ -2,6 +2,12 @@
 imagebmp() - basic functionality
 --EXTENSIONS--
 gd
+--SKIPIF--
+<?php
+    if (!(imagetypes() & IMG_PNG)) {
+        die("skip No PNG support");
+    }
+?>
 --FILE--
 <?php
 // create an image