mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
a375d54785
Cf. PR #6787. Closes GH-6994.
11 lines
220 B
PHP
11 lines
220 B
PHP
--TEST--
|
|
Test max colors for a gd image.
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
imagecreatefromgd(__DIR__ . '/crafted.gd2');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: imagecreatefromgd(): "%scrafted.gd2" is not a valid GD file in %s on line %d
|