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