3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); $plusThreeHours = gmdate('M-j-Y-H-i', strtotime('+3 hours', $now)); echo $plusThreeHours;

preferences:
28.07 ms | 402 KiB | 5 Q