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 minute'); echo $device_time_stamp; echo $last_update_threshold_time_stamp;
based on Tpf3D
Output for 5.6.28, 7.0.14 - 7.1.0
14001563771408534591
Output for 7.0.6
14001563771462260947
Output for 7.0.5
14001563771459628845
Output for 7.0.4
14001563771457596817
Output for 7.0.3
14001563771458290246
Output for 7.0.2
14001563771458657073
Output for 7.0.1
14001563771458760569
Output for 7.0.0
14001563771459025327
Output for 5.6.21
14001563771462157832
Output for 5.6.20
14001563771460229853
Output for 5.6.19
14001563771457366886
Output for 5.6.18
14001563771458000154
Output for 5.6.17
14001563771458391968
Output for 5.6.16
14001563771459114447
Output for 5.6.15
14001563771459204756
Output for 5.6.14
14001563771459558807
Output for 5.6.13
14001563771460696082
Output for 5.6.12
14001563771461091145
Output for 5.6.11
14001563771461375787
Output for 5.6.10
14001563771461554811
Output for 5.6.9
14001563771461745490
Output for 5.6.8
14001563771461947376
Output for 5.5.35
14001563771463899207
Output for 5.5.34
14001563771460324669
Output for 5.5.33
14001563771457463906
Output for 5.5.32
14001563771458179127
Output for 5.5.31
14001563771458488318
Output for 5.5.30
14001563771459470899
Output for 5.5.29
14001563771460833197
Output for 5.5.28
14001563771461188649
Output for 5.5.27
14001563771461284037
Output for 5.5.26
14001563771461650032
Output for 5.5.25
14001563771461845498
Output for 5.5.24
14001563771464031983
Output for 5.4.45
14001563771442831326
Output for 5.4.44
14001563771442831314
Output for 5.4.43
14001563771442831302
Output for 5.4.42
14001563771442831298
Output for 5.4.41
14001563771442831293
Output for 5.4.40
14001563771442831289
Output for 5.4.39
14001563771442831286
Output for 5.4.38
14001563771426247494
Output for 5.4.35 - 5.4.37
14001563771426247486
Output for 5.4.34
14001563771426247485
Output for 5.4.32
14001563771409219205
Output for 5.4.26 - 5.4.31
14001563771408534595
Output for 5.4.4 - 5.4.25
14001563771408534596
Output for 5.3.13 - 5.3.28, 5.4.0 - 5.4.3
14001563771408534597
Output for 5.3.29
14001563771409219204
Output for 5.2.7 - 5.3.12
14001563771408534598
Output for 5.0.3 - 5.0.5, 5.1.2 - 5.2.6
14001563771408534599
Output for 5.1.0 - 5.1.1
1408534599
Output for 5.0.0 - 5.0.2
14001563771408485000
Output for 4.4.0 - 4.4.9
-11408534599
Output for 4.3.1 - 4.3.11
-11408534600
Output for 4.3.0
-11442831283