summaryrefslogtreecommitdiff
path: root/ext/gd/tests/crafted_gd2.phpt
blob: 7bcbc4e68b78a01c981098be7b0591f7e9d6fc63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Test max colors for a gd image.
--SKIPIF--
<?php
	if (!extension_loaded('gd')) {
		die("skip gd extension not available\n");
	}
?>
--FILE--
<?php
imagecreatefromgd(dirname(__FILE__) . '/crafted.gd2');
?>
--EXPECTF--

Warning: imagecreatefromgd(): '%scrafted.gd2' is not a valid GD file in %s on line %d