--TEST-- DatePeriod arguments/wrong arguments --FILE-- getMessage(), "\n"; } ?> --EXPECT-- OK OK OK OK TypeError: DatePeriod::__construct() accepts (DateTimeInterface, DateInterval, int [, int]), or (DateTimeInterface, DateInterval, DateTime [, int]), or (string [, int]) as arguments