3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('d-m-Y H:i:s', strtotime(' + 20 years'));
based on bsDdq
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5, 5.1.2 - 7.1.0
30-09-2034 14:10:31
Output for 5.1.0 - 5.1.1
01-01-1970 01:00:00
Output for 5.0.0 - 5.0.2
30-09-2034 00:00:00