3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('+1 week 2 days 4 hours 2 seconds');
based on P1LUn
Output for 5.6.28, 7.0.20 - 7.2.0
1444227500
Output for 7.0.6
1463036350
Output for 7.0.5
1460405277
Output for 7.0.4
1458370644
Output for 7.0.3
1459059393
Output for 7.0.2
1459356283
Output for 7.0.1
1459531372
Output for 7.0.0
1459797235
Output for 5.6.21
1462932181
Output for 5.6.20
1460992960
Output for 5.6.19
1458109316
Output for 5.6.18
1458762859
Output for 5.6.17
1459161698
Output for 5.6.16
1459889978
Output for 5.6.15
1459979519
Output for 5.6.14
1460334320
Output for 5.6.13
1461471908
Output for 5.6.12
1461865302
Output for 5.6.11
1462150167
Output for 5.6.10
1462328871
Output for 5.6.9
1462520411
Output for 5.6.8
1462721291
Output for 5.6.7
1464926450
Output for 5.5.35
1464673630
Output for 5.5.34
1461100809
Output for 5.5.33
1458237108
Output for 5.5.32
1458949318
Output for 5.5.31
1459258400
Output for 5.5.30
1460245975
Output for 5.5.29
1461608976
Output for 5.5.28
1461963149
Output for 5.5.27
1462058136
Output for 5.5.26
1462424439
Output for 5.5.25
1462618767
Output for 5.5.24
1464803517
Output for 5.4.44 - 5.4.45
1444227510
Output for 5.4.37 - 5.4.43
1444227511
Output for 5.4.30 - 5.4.36
1444227512
Output for 5.4.23 - 5.4.29
1444227513
Output for 5.4.17 - 5.4.22
1444227514
Output for 5.4.10 - 5.4.16
1444227515
Output for 5.4.8 - 5.4.9
1444227516
Output for 5.4.7
1446697772
Output for 5.4.6
1446702414
Output for 5.4.5
1446708117
Output for 5.4.4
1446713703
Output for 5.4.3
1446719800
Output for 5.4.2
1446726003
Output for 5.3.29
1444567028
Output for 5.3.28
1444567027
Output for 5.3.26 - 5.3.27
1444567026
Output for 5.3.25
1444567025
Output for 5.3.24
1444567024
Output for 5.3.23
1444567023
Output for 5.3.21 - 5.3.22
1444567022
Output for 5.3.20
1444567021
Output for 5.3.19
1444567020
Output for 5.3.18
1444567019