3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = '2014-08-05 20:30:11'; $d2 = '2014-08-07 17:35:21'; $t1 = strtotime($d1); $t1 = strtotime('3 days ago'); $t2 = strtotime($d2); echo $t1."\t\r\n"; echo $t2."\t\r\n"; echo ($t2 > $t1)."\t\r\n";

preferences:
36.03 ms | 402 KiB | 5 Q