diff options
Diffstat (limited to 'ext/gd/tests/bug38112.phpt')
| -rw-r--r-- | ext/gd/tests/bug38112.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/gd/tests/bug38112.phpt b/ext/gd/tests/bug38112.phpt new file mode 100644 index 0000000..0e4b8af --- /dev/null +++ b/ext/gd/tests/bug38112.phpt @@ -0,0 +1,14 @@ +--TEST-- +Bug #38112 (GIF Invalid Code size ). +--SKIPIF-- +<?php + if (!extension_loaded('gd')) { + die("skip gd extension not available\n"); + } +?> +--FILE-- +<?php +$im = imagecreatefromgif(dirname(__FILE__) . '/bug38112.gif'); +?> +--EXPECTF-- +Warning: imagecreatefromgif(): '%sbug38112.gif' is not a valid GIF file in %sbug38112.php on line %d |
