<?php $date = new DateTime('20/08/2019');
Standard input is empty
Standard output is empty
PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (20/08/2019) at position 0 (2): Unexpected character in /home/qHEl7f/prog.php:3
Stack trace:
#0 /home/qHEl7f/prog.php(3): DateTime->__construct('20/08/2019')
#1 {main}
thrown in /home/qHEl7f/prog.php on line 3