blob: a5b0dfe339bba6b8c451be887338e887cf65351c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Test max colors for a gd image.
--SKIPIF--
<?php
if (!extension_loaded('gd')) {
die("skip gd extension not available\n");
}
?>
--FILE--
<?php
imagecreatefromgd(__DIR__ . '/crafted.gd2');
?>
--EXPECTF--
Warning: imagecreatefromgd(): "%scrafted.gd2" is not a valid GD file in %s on line %d
|