3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hours = date('H:i' , strtotime('03:00') - strtotime('02:00')); echo $hours;

preferences:
35.19 ms | 405 KiB | 5 Q