3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('now') - strtotime("2016-01-17 13:30:18"); ?>
based on psoRX
Output for 5.6.28, 7.0.20 - 7.2.0
4034
Output for 7.0.6
10797923
Output for 7.0.5
6636111
Output for 7.0.4
4609764
Output for 7.0.3
5306259
Output for 7.0.2
5674294
Output for 7.0.1
5771653
Output for 7.0.0
6034029
Output for 5.6.21
9166586
Output for 5.6.20
7237456
Output for 5.6.19
4379967
Output for 5.6.18
5017080
Output for 5.6.17
5404199
Output for 5.6.16
6123419
Output for 5.6.15
6212795
Output for 5.6.14
7615737
Output for 5.6.13
7704472
Output for 5.6.12
8102308
Output for 5.6.11
8471054
Output for 5.6.10
8565006
Output for 5.6.9
8757480
Output for 5.6.8
8960672
Output for 5.5.35
10930859
Output for 5.5.34
7331949
Output for 5.5.33
4477469
Output for 5.5.32
5204198
Output for 5.5.31
5502167
Output for 5.5.30
6478675
Output for 5.5.29
7842350
Output for 5.5.28
8200679
Output for 5.5.27
8292926
Output for 5.5.26
8661096
Output for 5.5.25
8860689
Output for 5.5.24
11044168
Output for 5.4.44 - 5.4.45
4036
Output for 5.4.41 - 5.4.43
4037
Output for 5.4.40
4038
Output for 5.4.39
4039
Output for 5.4.36 - 5.4.38
4040
Output for 5.4.34 - 5.4.35
4041
Output for 5.4.32
4042
Output for 5.3.29, 5.4.28 - 5.4.31
4043
Output for 5.4.24 - 5.4.27
4044
Output for 5.3.28, 5.4.21 - 5.4.23
4045
Output for 5.4.18 - 5.4.20
4046
Output for 5.3.24 - 5.3.27, 5.4.15 - 5.4.17
4047
Output for 5.3.22 - 5.3.23, 5.4.12 - 5.4.14
4048