3v4l.org

run code in 200+ 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 - 7.2.0
1407263411 1407425721 1