Skip to content

Commit 10dad92

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: ext/gd: imagebmp_basic.phpt test require PNG support.
2 parents b114db0 + ac8248b commit 10dad92

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ext/gd/tests/imagebmp_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
imagebmp() - basic functionality
33
--EXTENSIONS--
44
gd
5+
--SKIPIF--
6+
<?php
7+
if (!(imagetypes() & IMG_PNG)) {
8+
die("skip No PNG support");
9+
}
10+
?>
511
--FILE--
612
<?php
713
// create an image

0 commit comments

Comments
 (0)