diff options
Diffstat (limited to 'ext/gd/tests/imagefilledpolygon_basic.phpt')
| -rw-r--r-- | ext/gd/tests/imagefilledpolygon_basic.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/tests/imagefilledpolygon_basic.phpt b/ext/gd/tests/imagefilledpolygon_basic.phpt index 6871a28b7..ded52da07 100644 --- a/ext/gd/tests/imagefilledpolygon_basic.phpt +++ b/ext/gd/tests/imagefilledpolygon_basic.phpt @@ -3,7 +3,7 @@ imagefilledpolygon() --SKIPIF-- <?php if (!function_exists('imagefilledpolygon')) die('skip imagefilledpolygon() not available'); - require_once('skipif_imagetype.inc'); + if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled'); ?> --FILE-- <?php |
