3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $timelimit = date('Y-m-d H:i:s', mktime(12, 30, 12, 3, 12, 2014)); $now = date('Y-m-d H:i:s'); var_dump($timelimit, $now, $timelimit < $now); die;
Output for 4.3.0 - 7.2.0, 7.2.3 - 7.3.1
string(19) "2014-03-12 12:30:12" string(19) "2014-07-07 10:42:07" bool(true)
Output for 7.2.1 - 7.2.2
string(19) "2014-03-12 12:30:12" string(19) "2014-07-07 10:42:08" bool(true)