3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mysql_timestamp = "2014-10-21 10:49:34"; $this_is_new = false; if(strtotime($mysql_timestamp) > strtotime("-30 minutes")) { $this_is_new = true; } print_r($this_is_new);
based on Yi7SA
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.2.0
Output for 5.0.0 - 5.0.2
1