--TEST-- Test sha1() function : error conditions --FILE-- ===DONE=== --EXPECTF-- *** Testing sha1() : error conditions *** -- Testing sha1() function with no arguments -- Warning: sha1() expects at least 1 parameter, 0 given in %s on line %d NULL -- Testing sha1() function with more than expected no. of arguments -- Warning: sha1() expects at most 2 parameters, 3 given in %s on line %d NULL ===DONE===