xref: /PHP-8.0/ext/gd/tests/bug38112.phpt (revision c5401854)
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(__DIR__ . '/bug38112.gif');
12?>
13--EXPECTF--
14Warning: imagecreatefromgif(): "%sbug38112.gif" is not a valid GIF file in %sbug38112.php on line %d
15