--TEST-- Test imagecolorstotal() function : error conditions - Pass incorrect number of arguments --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- *** Testing imagecolorstotal() : error conditions *** -- Testing imagecolorstotal() function with Zero arguments -- Warning: imagecolorstotal() expects exactly 1 parameter, 0 given in %s on line %d NULL -- Testing imagecolorstotal() function with more than expected no. of arguments -- Warning: imagecolorstotal() expects exactly 1 parameter, 2 given in %s on line %d NULL -- Testing imagecolorstotal() function with a invalid resource Warning: imagecolorstotal(): supplied resource is not a valid Image resource in %s on line %d bool(false) ===DONE===