summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug44849.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/tests/bug44849.phpt')
-rw-r--r--ext/gd/tests/bug44849.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/gd/tests/bug44849.phpt b/ext/gd/tests/bug44849.phpt
new file mode 100644
index 0000000..a6d162c
--- /dev/null
+++ b/ext/gd/tests/bug44849.phpt
@@ -0,0 +1,12 @@
+--TEST--
+Bug #44849 (imagecolorclosesthwb is not available on Windows)
+--SKIPIF--
+<?php
+ if(!extension_loaded('gd')){ die('skip gd extension not available'); }
+?>
+--FILE--
+<?php
+ var_dump(function_exists('imagecolorclosesthwb'));
+?>
+--EXPECTF--
+bool(true)