1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00

MFB: Add test case for #44849

This commit is contained in:
Kalle Sommer Nielsen
2008-07-30 01:38:37 +00:00
parent 274139bde1
commit 73558cf334
+13
View File
@@ -0,0 +1,13 @@
--TEST--
Bug #44849 (imagecolorclosesthwb is not available on Windows)
--SKIPIF--
<?php
if(!extension_loaded('gd')){ die('skip: gd extension not available'); }
if(strtoupper(substr(PHP_OS, 0, 3)) != 'WIN'){ die('skip: not a Windows operating system'); }
?>
--FILE--
<?php
var_dump(function_exists('imagecolorclosesthwb'));
?>
--EXPECTF--
bool(true)