3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $days = 10; echo strtotime("-{$days} days");
based on 8l5kF
Output for 5.6.28, 7.0.14 - 7.1.0
1412364077
Output for 7.0.6
1461383757
Output for 7.0.5
1458756014
Output for 7.0.4
1456718313
Output for 7.0.3
1457410868
Output for 7.0.2
1457707663
Output for 7.0.1
1457882638
Output for 7.0.0
1458148157
Output for 5.6.21
1461280254
Output for 5.6.20
1459340211
Output for 5.6.19
1456459405
Output for 5.6.18
1457110855
Output for 5.6.17
1457513033
Output for 5.6.16
1458240907
Output for 5.6.15
1458330475
Output for 5.6.14
1458685111
Output for 5.6.13
1459819227
Output for 5.6.12
1460213380
Output for 5.6.11
1460497486
Output for 5.6.10
1460677060
Output for 5.6.9
1460867889
Output for 5.6.8
1461068965
Output for 5.6.7
1463280038
Output for 5.5.35
1463021267
Output for 5.5.34
1459448038
Output for 5.5.33
1456584836
Output for 5.5.32
1457297453
Output for 5.5.31
1457609674
Output for 5.5.30
1458596951
Output for 5.5.29
1459956356
Output for 5.5.28
1460310727
Output for 5.5.27
1460405453
Output for 5.5.26
1460772092
Output for 5.5.25
1460966352
Output for 5.5.24
1463151458
Output for 5.4.45
1441890018
Output for 5.4.44
1438929472
Output for 5.4.43
1438929468
Output for 5.4.42
1435552992
Output for 5.4.41
1435552990
Output for 5.4.39 - 5.4.40
1435552985
Output for 5.4.38
1435552983
Output for 5.4.36 - 5.4.37
1435552981
Output for 5.4.34 - 5.4.35
1435552980
Output for 5.4.15 - 5.4.32
1412364081
Output for 5.3.23 - 5.4.14
1412364082
Output for 5.3.2 - 5.3.22
1412364083
Output for 5.0.5 - 5.3.1
1412364084
Output for 4.3.1 - 4.4.9, 5.0.3 - 5.0.4
1412364085
Output for 5.0.0 - 5.0.2
1412287200
Output for 4.3.0
1441890013