3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d1 = '2014-08-05 20:30:11'; $d2 = '2014-08-07 17:35:21'; $t1 = strtotime($d1); $t2 = strtotime($d2); echo $t1."\t\r\n"; echo $t2."\t\r\n"; echo ($t2 > $t1)."\t\r\n";
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1407263411 1407425721 1