3v4l.org

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

preferences:
37.77 ms | 402 KiB | 5 Q