diff options
Diffstat (limited to 'ext/gd/tests/imagefill_1.phpt')
-rw-r--r-- | ext/gd/tests/imagefill_1.phpt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/gd/tests/imagefill_1.phpt b/ext/gd/tests/imagefill_1.phpt deleted file mode 100644 index 04e1cab55a..0000000000 --- a/ext/gd/tests/imagefill_1.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -imagefill() infinite loop with wrong color index ---SKIPIF-- -<?php - if (!extension_loaded('gd')) { - die("skip gd extension not available."); - } - if (!function_exists("imagefttext")) { - die("skip imagefttext() not available."); - } -?> ---FILE-- -<?php -$im = imagecreate(100,100); -$white = imagecolorallocate($im, 255,255,255); -$blue = imagecolorallocate($im, 0,0,255); -$green = imagecolorallocate($im, 0,255,0); - -print_r(imagecolorat($im, 0,0)); -imagefill($im, 0,0,$white + 3); -print_r(imagecolorat($im, 0,0)); -imagedestroy($im); -?> ---EXPECT-- -00 |