3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysql_timestamp = "2014-10-21 10:49:34"; $this_is_new = false; if(strtotime($mysql_timestamp) > strtotime("-30 minutes")) { $this_is_new = true; } var_dump($this_is_new);

preferences:
38.84 ms | 402 KiB | 5 Q