php-src/ext/gd/tests/bug37360.phpt
Christoph M. Becker a375d54785
Migrate skip checks to --EXTENSIONS-- for ext/gd
Cf. PR #6787.

Closes GH-6994.
2021-05-22 15:38:51 +02:00

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)