1--TEST--
2Testing imagecreatetruecolor(): error on wrong parameter count
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();
13$image = imagecreatetruecolor(30);
14$image = imagecreatetruecolor(1,1,1);
15?>
16--EXPECTF--
17Warning: imagecreatetruecolor() expects exactly 2 parameters, 0 given in %s on line %d
18
19Warning: imagecreatetruecolor() expects exactly 2 parameters, 1 given in %s on line %d
20
21Warning: imagecreatetruecolor() expects exactly 2 parameters, 3 given in %s on line %d