--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)