mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
a375d54785
Cf. PR #6787. Closes GH-6994.
13 lines
265 B
PHP
13 lines
265 B
PHP
--TEST--
|
|
Bug #37360 (gdimagecreatefromgif, bad image sizes)
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$im = imagecreatefromgif(__DIR__ . '/bug37360.gif');
|
|
var_dump($im);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: imagecreatefromgif(): "%s" is not a valid GIF file in %s on line %d
|
|
bool(false)
|