mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: ext/gd/tests/gh10614.phpt: skip if no PNG support
This commit is contained in:
commit
71defce4be
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue