1--TEST-- 2Testing imageistruecolor() of GD library 3--CREDITS-- 4Rafael 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 14var_dump(imageistruecolor($image)); 15?> 16--EXPECT-- 17bool(true)