3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_hour = "08:00"; $different_hour = 1; echo $newTime = date("H:i", strtotime("+{$different_hour}hour ".$start_hour));

preferences:
112.15 ms | 405 KiB | 5 Q