summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imageistruecolor_basic.phpt
blob: fa323897ba7e97f09baa0cc2bd285f40635293ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Testing imageistruecolor() of GD library
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
--SKIPIF--
<?php
	if (!extension_loaded("gd")) die("skip GD not present");
	if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
?>
--FILE--
<?php
$image = imagecreatetruecolor(180, 30);

var_dump(imageistruecolor($image));
?>
--EXPECT--
bool(true)