--TEST-- Test new DateTime(): error conditions --FILE-- getMessage(), "\n"; } ?> --EXPECT-- *** Testing date_create() : error conditions *** -- Testing new DateTime() with more than expected no. of arguments -- ArgumentCountError: DateTime::__construct() expects at most 2 arguments, 3 given