3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = strtotime( '1 week ago' ); echo $d;
Output for 5.6.28, 7.0.20 - 7.2.0
1450734192
Output for 7.0.6
1463224062
Output for 7.0.5
1459062685
Output for 7.0.4
1457036242
Output for 7.0.3
1457732367
Output for 7.0.2
1458100375
Output for 7.0.1
1458198095
Output for 7.0.0
1458464100
Output for 5.6.21
1461593036
Output for 5.6.20
1459663993
Output for 5.6.19
1456806292
Output for 5.6.18
1457443250
Output for 5.6.17
1457830380
Output for 5.6.16
1458553470
Output for 5.6.15
1458642808
Output for 5.6.14
1460042152
Output for 5.6.13
1460130889
Output for 5.6.12
1460528635
Output for 5.6.11
1460897375
Output for 5.6.10
1460991314
Output for 5.6.9
1461183157
Output for 5.6.8
1461387134
Output for 5.5.35
1463355562
Output for 5.5.34
1459758406
Output for 5.5.33
1456903441
Output for 5.5.32
1457630206
Output for 5.5.31
1457928091
Output for 5.5.30
1458908754
Output for 5.5.29
1460268766
Output for 5.5.28
1460626928
Output for 5.5.27
1460719293
Output for 5.5.26
1461087352
Output for 5.5.25
1461286803
Output for 5.5.24
1463469904
Output for 5.4.45
1450734196
Output for 5.4.44
1450734197
Output for 5.4.42 - 5.4.43
1450734199
Output for 5.4.40 - 5.4.41
1450734200
Output for 5.4.39
1450734201
Output for 5.4.36 - 5.4.38
1450734202
Output for 5.4.34 - 5.4.35
1450734203
Output for 5.3.29, 5.4.31 - 5.4.32
1450734204
Output for 5.4.27 - 5.4.30
1450734205
Output for 5.4.25 - 5.4.26
1450734206
Output for 5.3.28, 5.4.21 - 5.4.24
1450734207
Output for 5.4.18 - 5.4.20
1450734208
Output for 5.3.25 - 5.3.27, 5.4.15 - 5.4.17
1450734209
Output for 5.3.21 - 5.3.24, 5.4.11 - 5.4.14
1450734210