Download src/php/php-src/ext/gd/tests/bug37360.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gd/tests/bug37360.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/gd/tests/bug37360.phpt
-
curl -L -o bug37360.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/gd/tests/bug37360.phpt
265 Bytes
| --TEST-- | |
| Bug #37360 (gdimagecreatefromgif, bad image sizes) | |
| --EXTENSIONS-- | |
| gd | |
| --FILE-- | |
| $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) | |