mirror of
https://github.com/php/php-src.git
synced 2024-10-04 16:26:13 +00:00
8e664dd105
(2.0.34 or 2.0.35) work. NB: if you use Debian, you'll realize how bad their package is and start to either use the source or push all patches I posted to their bugs tracker
15 lines
339 B
PHP
15 lines
339 B
PHP
--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
|