3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strtotime('last week'));
Output for 5.6.28, 7.0.14 - 7.1.0
int(1392055011)
Output for 7.0.7
int(1392058611)
Output for 7.0.6
int(1461619467)
Output for 7.0.5
int(1458561508)
Output for 7.0.4
int(1456778882)
Output for 7.0.3
int(1457385143)
Output for 7.0.2
int(1457942241)
Output for 7.0.1
int(1457940941)
Output for 7.0.0
int(1457952526)
Output for hhvm-3.12.0
int(1456703775)
Output for hhvm-3.10.0
int(1458569999)
Output for 5.6.21
int(1461601761)
Output for 5.6.20
int(1459145860)
Output for 5.6.19
int(1456767949)
Output for 5.6.18
int(1457331142)
Output for 5.6.17
int(1457315166)
Output for 5.6.16
int(1458563466)
Output for 5.6.15
int(1458566476)
Output for 5.6.14
int(1458576903)
Output for 5.6.13
int(1459797099)
Output for 5.6.12
int(1460362262)
Output for 5.6.11
int(1460388744)
Output for 5.6.10
int(1460999384)
Output for 5.6.9
int(1460930765)
Output for 5.6.8
int(1460958310)
Output for 5.6.7
int(1463411752)
Output for 5.5.35
int(1462822562)
Output for 5.5.34
int(1459770110)
Output for 5.5.33
int(1456732559)
Output for 5.5.32
int(1457370078)
Output for 5.5.31
int(1457930616)
Output for 5.5.30
int(1458574445)
Output for 5.5.29
int(1459760885)
Output for 5.5.28
int(1460373261)
Output for 5.5.27
int(1460383329)
Output for 5.5.26
int(1461007349)
Output for 5.5.25
int(1460942798)
Output for 5.5.24
int(1460970747)
Output for 5.4.45
int(1441029593)
Output for 5.4.44
int(1440439697)
Output for 5.4.43
int(1440439694)
Output for 5.4.42
int(1440439693)
Output for 5.4.41
int(1440439691)
Output for 5.4.39 - 5.4.40
int(1440439688)
Output for 5.4.38
int(1424087803)
Output for 5.4.37
int(1422302462)
Output for 5.4.36
int(1422302461)
Output for 5.4.34 - 5.4.35
int(1415002988)
Output for 5.4.32
int(1408357064)
Output for 5.4.31
int(1408357058)
Output for 5.4.29 - 5.4.30
int(1408357053)
Output for 5.4.28
int(1408357052)
Output for 5.4.27
int(1408357060)
Output for 5.4.26
int(1408357059)
Output for 5.4.12 - 5.4.25
int(1392055012)
Output for 5.3.19 - 5.3.28, 5.4.0 - 5.4.11
int(1392055013)
Output for 5.3.29
int(1408357054)
Output for 5.3.0 - 5.3.18
int(1392055014)
Output for 5.2.14 - 5.2.17
int(1392141414)
Output for 4.4.6 - 4.4.9, 5.0.3 - 5.2.13
int(1392141415)
Output for 5.0.0 - 5.0.2
int(1392076800)
Output for 4.3.1 - 4.4.5
int(1392141416)
Output for 4.3.0
int(1441288792)