xref: /PHP-5.5/ext/gd/tests/bug38112.phpt (revision 70650810)
1--TEST--
2Bug #38112 (GIF Invalid Code size ).
3--SKIPIF--
4<?php
5	if (!extension_loaded('gd')) {
6		die("skip gd extension not available\n");
7	}
8?>
9--FILE--
10<?php
11$im = imagecreatefromgif(dirname(__FILE__) . '/bug38112.gif');
12?>
13--EXPECTF--
14Warning: imagecreatefromgif(): '%sbug38112.gif' is not a valid GIF file in %sbug38112.php on line %d
15