Annotation of embedaddon/php/ext/gd/tests/imageistruecolor_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Testing imageistruecolor() of GD library
3: --CREDITS--
4: Rafael Dohms <rdohms [at] gmail [dot] com>
5: --SKIPIF--
6: <?php
7: if (!extension_loaded("gd")) die("skip GD not present");
8: if (!function_exists("imagecreatetruecolor")) die("skip GD Version not compatible");
9: ?>
10: --FILE--
11: <?php
12: $image = imagecreatetruecolor(180, 30);
13:
14: var_dump(imageistruecolor($image));
15: ?>
16: --EXPECT--
17: bool(true)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>