3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $device_time_stamp = strtotime('2014-05-15T12:19:37.000Z'); $last_update_threshold_time_stamp = strtotime('-10 minutes'); $result = ($device_time_stamp <= $last_update_threshold_time_stamp ? '1' : '0'); echo $result;
based on r3elD
Output for 4.3.0 - 7.1.0
1