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'); echo $device_time_stamp . ' - ' . $last_update_threshold_time_stamp;
based on L7H77
Output for 5.6.28, 7.0.14 - 7.1.0
1400156377 - 1408534620
Output for 7.0.6
1400156377 - 1462260962
Output for 7.0.5
1400156377 - 1459628859
Output for 7.0.4
1400156377 - 1457596831
Output for 7.0.3
1400156377 - 1458290262
Output for 7.0.2
1400156377 - 1458657088
Output for 7.0.1
1400156377 - 1458760583
Output for 7.0.0
1400156377 - 1459025341
Output for hhvm-3.12.0
1400156377 - 1457730319
Output for hhvm-3.10.0
1400156377 - 1459328853
Output for 5.6.21
1400156377 - 1462157846
Output for 5.6.20
1400156377 - 1460229866
Output for 5.6.19
1400156377 - 1457366899
Output for 5.6.18
1400156377 - 1458000170
Output for 5.6.17
1400156377 - 1458391983
Output for 5.6.16
1400156377 - 1459114462
Output for 5.6.15
1400156377 - 1459204770
Output for 5.6.14
1400156377 - 1459558821
Output for 5.6.13
1400156377 - 1460696097
Output for 5.6.12
1400156377 - 1461091159
Output for 5.6.11
1400156377 - 1461375800
Output for 5.6.10
1400156377 - 1461554825
Output for 5.6.9
1400156377 - 1461745503
Output for 5.6.8
1400156377 - 1461947389
Output for 5.5.35
1400156377 - 1463899220
Output for 5.5.34
1400156377 - 1460324682
Output for 5.5.33
1400156377 - 1457463920
Output for 5.5.32
1400156377 - 1458179143
Output for 5.5.31
1400156377 - 1458488334
Output for 5.5.30
1400156377 - 1459470911
Output for 5.5.29
1400156377 - 1460833208
Output for 5.5.28
1400156377 - 1461188663
Output for 5.5.27
1400156377 - 1461284048
Output for 5.5.26
1400156377 - 1461650045
Output for 5.5.25
1400156377 - 1461845511
Output for 5.5.24
1400156377 - 1464031995
Output for 5.4.45
1400156377 - 1447678962
Output for 5.4.44
1400156377 - 1447678963
Output for 5.4.43
1400156377 - 1447678964
Output for 5.4.41 - 5.4.42
1400156377 - 1447678965
Output for 5.4.38 - 5.4.40
1400156377 - 1447678966
Output for 5.4.36 - 5.4.37
1400156377 - 1447678967
Output for 5.4.34 - 5.4.35
1400156377 - 1447678968
Output for 5.3.29, 5.4.31 - 5.4.32
1400156377 - 1447678969
Output for 5.4.26 - 5.4.30
1400156377 - 1447678970
Output for 5.4.23 - 5.4.25
1400156377 - 1447678971
Output for 5.3.28, 5.4.20 - 5.4.22
1400156377 - 1447678972
Output for 5.3.27, 5.4.17 - 5.4.19
1400156377 - 1447678973
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
1400156377 - 1447678974
Output for 5.3.20 - 5.3.23, 5.4.9 - 5.4.12
1400156377 - 1447678975
Output for 5.3.15 - 5.3.19, 5.4.6 - 5.4.8
1400156377 - 1447678976
Output for 5.3.12 - 5.3.14, 5.4.2 - 5.4.5
1400156377 - 1447678977
Output for 5.3.6 - 5.3.11, 5.4.0 - 5.4.1
1400156377 - 1447678978
Output for 5.2.13 - 5.2.17, 5.3.2 - 5.3.5
1400156377 - 1447678979
Output for 5.2.7 - 5.2.12, 5.3.0 - 5.3.1
1400156377 - 1447678980
Output for 5.2.2 - 5.2.6
1400156377 - 1447678981
Output for 5.1.3 - 5.2.1
1400156377 - 1447678982
Output for 5.0.3 - 5.0.5, 5.1.2
1400156377 - 1447678983
Output for 5.1.0 - 5.1.1
- 1447678983
Output for 5.0.0 - 5.0.2
1400156377 - 1447627800
Output for 4.4.9
-1 - 1447678980
Output for 4.4.7 - 4.4.8
-1 - 1447678981
Output for 4.4.3 - 4.4.6
-1 - 1447678982
Output for 4.3.11 - 4.4.2
-1 - 1447678983
Output for 4.3.3 - 4.3.10
-1 - 1447678984
Output for 4.3.0 - 4.3.2
-1 - 1447678985