1--TEST-- 2Testing imagecreatetruecolor(): error on non-long parameters 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('s', 30); 13$image = imagecreatetruecolor(30, 's'); 14?> 15--EXPECTF-- 16Warning: imagecreatetruecolor() expects parameter 1 to be long, %s given in %s on line %d 17 18Warning: imagecreatetruecolor() expects parameter 2 to be long, %s given in %s on line %d 19