summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagewbmp_nullbyte_injection.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/imagewbmp_nullbyte_injection.phpt')
-rw-r--r--ext/gd/tests/imagewbmp_nullbyte_injection.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/tests/imagewbmp_nullbyte_injection.phpt b/ext/gd/tests/imagewbmp_nullbyte_injection.phpt
index f19962638..54a574960 100644
--- a/ext/gd/tests/imagewbmp_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagewbmp_nullbyte_injection.phpt
@@ -6,6 +6,7 @@ foreach (glob($tempdir . "/test*") as $file ) { unlink($file); }
rmdir($tempdir);
--SKIPIF--
<?php
+if(!extension_loaded('gd')){ die('skip gd extension not available'); }
$support = gd_info();
if (!isset($support['WBMP Support']) || $support['WBMP Support'] === false) {
print 'skip wbmp support not available';