3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = '2014-03-7 15:14'; $chk_date = '2014-03-07 15:14'; if(strtotime($time) == strtotime($chk_date)){ echo 'hola'; }else{ echo 'hello'; }

preferences:
26.57 ms | 402 KiB | 5 Q