3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('d.m.Y H:i', time()).' - '.date('d.m.Y H:i', strtotime("+4 months 2 months"));

preferences:
49.03 ms | 1106 KiB | 5 Q