--TEST-- Test date() function : error conditions --FILE-- ===DONE=== --EXPECTF-- *** Testing date() : error conditions *** -- Testing date function with no arguments -- Warning: date() expects at least 1 parameter, 0 given in %s on line %d bool(false) -- Testing date function with more than expected no. of arguments -- Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) ===DONE===