Fatal error: Uncaught TypeError: DatePeriod::__construct() accepts (DateTimeInterface, DateInterval, int [, int]), or (DateTimeInterface, DateInterval, DateTime [, int]), or (string [, int]) as arguments in /in/eq1Y1:8
Stack trace:
#0 /in/eq1Y1(8): DatePeriod->__construct(false, Object(DateInterval), Object(DateTime))
#1 {main}
thrown in /in/eq1Y1 on line 8
Process exited with code 255.
Fatal error: Uncaught Exception: DatePeriod::__construct(): This constructor accepts either (DateTimeInterface, DateInterval, int) OR (DateTimeInterface, DateInterval, DateTime) OR (string) as arguments. in /in/eq1Y1:8
Stack trace:
#0 /in/eq1Y1(8): DatePeriod->__construct(false, Object(DateInterval), Object(DateTime))
#1 {main}
thrown in /in/eq1Y1 on line 8
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Fatal error: Uncaught exception 'Exception' with message 'DatePeriod::__construct(): This constructor accepts either (DateTimeInterface, DateInterval, int) OR (DateTimeInterface, DateInterval, DateTime) OR (string) as arguments.' in /in/eq1Y1:8
Stack trace:
#0 /in/eq1Y1(8): DatePeriod->__construct(false, Object(DateInterval), Object(DateTime))
#1 {main}
thrown in /in/eq1Y1 on line 8
Process exited with code 255.