--TEST-- Test new DateTime() : error conditions --FILE-- ===DONE=== --EXPECTF-- *** Testing date_create() : error conditions *** -- Testing new DateTime() with more than expected no. of arguments -- Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() expects at most 2 parameters, 3 given' in %s:%d Stack trace: #0 %s(%d): DateTime->__construct('GMT', Object(DateTimeZone), 99) #1 {main} thrown in %s on line %d