diff options
Diffstat (limited to 'ext/gd/tests/bug22544.phpt')
| -rw-r--r-- | ext/gd/tests/bug22544.phpt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/gd/tests/bug22544.phpt b/ext/gd/tests/bug22544.phpt index 3c21f0b3c..4c8f763a7 100644 --- a/ext/gd/tests/bug22544.phpt +++ b/ext/gd/tests/bug22544.phpt @@ -1,13 +1,10 @@ --TEST-- Bug #22544 (TrueColor transparency in PNG images). --SKIPIF-- -<?php - if (!extension_loaded('gd')) { +<?php + if (!extension_loaded('gd')) { die("skip gd extension not available\n"); } - if (!GD_BUNDLED) { - die('skip external GD libraries may fail'); - } ?> --FILE-- <?php @@ -19,7 +16,7 @@ Bug #22544 (TrueColor transparency in PNG images). imageColorTransparent($image, $transparent); imageFilledRectangle($image, 0, 0, 640-1, 100-1, $transparent); imagePng($image, $dest); - echo md5_file($dest) . "\n"; + echo md5_file($dest) . "\n"; @unlink($dest); ?> --EXPECT-- |
