<?php echo (new \DateTime( 'now' )); ?>
Standard input is empty
Standard output is empty
PHP Catchable fatal error: Object of class DateTime could not be converted to string in /home/1KMEIr/prog.php on line 3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!