3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('now') - strtotime("2016-1-17 14:27:00"); ?>
based on YecM2
Output for 5.6.28, 7.0.20 - 7.2.0
-34
Output for 7.0.6
10794520
Output for 7.0.5
6632707
Output for 7.0.4
4606360
Output for 7.0.3
5302855
Output for 7.0.2
5670890
Output for 7.0.1
5768250
Output for 7.0.0
6030626
Output for 5.6.21
9163183
Output for 5.6.20
7234053
Output for 5.6.19
4376564
Output for 5.6.18
5013676
Output for 5.6.17
5400795
Output for 5.6.16
6120016
Output for 5.6.15
6209392
Output for 5.6.14
7612333
Output for 5.6.13
7701069
Output for 5.6.12
8098904
Output for 5.6.11
8467651
Output for 5.6.10
8561603
Output for 5.6.9
8754077
Output for 5.6.8
8957269
Output for 5.5.35
10927456
Output for 5.5.34
7328546
Output for 5.5.33
4474065
Output for 5.5.32
5200794
Output for 5.5.31
5498764
Output for 5.5.30
6475272
Output for 5.5.29
7838947
Output for 5.5.28
8197275
Output for 5.5.27
8289523
Output for 5.5.26
8657692
Output for 5.5.25
8857285
Output for 5.5.24
11040763
Output for 5.4.45
-32
Output for 5.4.43 - 5.4.44
-31
Output for 5.4.41 - 5.4.42
-30
Output for 5.4.40
-29
Output for 5.4.36 - 5.4.39
-28
Output for 5.4.32 - 5.4.35
-27
Output for 5.3.29, 5.4.27 - 5.4.31
-26
Output for 5.3.28, 5.4.23 - 5.4.26
-25
Output for 5.3.27, 5.4.18 - 5.4.22
-24
Output for 5.3.23 - 5.3.26, 5.4.13 - 5.4.17
-23
Output for 5.3.22, 5.4.12
-22