3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mysql_timestamp = "2014-10-21 11:49:34"; $this_is_new = false; if(strtotime($mysql_timestamp) > strtotime("-60 minutes")) { $this_is_new = true; } var_dump($this_is_new); echo strtotime("-60 minutes");
based on WL5T0
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.2.0
bool(false) 1413887919
Output for 5.0.0 - 5.0.2
bool(true) 1413838800