1--TEST--
2Testing imagetruecolortopalette(): wrong types for first parameter
3--CREDITS--
4Rafael Dohms <rdohms [at] gmail [dot] com>
5--SKIPIF--
6<?php
7	if (!extension_loaded("gd")) die("skip GD not present");
8?>
9--FILE--
10<?php
11$resource = tmpfile();
12
13imagesetthickness('string', 5);
14imagesetthickness(array(), 5);
15imagesetthickness($resource, 5);
16?>
17--EXPECTF--
18Warning: imagesetthickness() expects parameter 1 to be resource, %s given in %s on line %d
19
20Warning: imagesetthickness() expects parameter 1 to be resource, array given in %s on line %d
21
22Warning: imagesetthickness(): supplied resource is not a valid Image resource in %s on line %d