3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '12:00'; if(strtotime($x) < strtotime('13:00')) { echo 'works for me'; }

preferences:
50.66 ms | 402 KiB | 5 Q