3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$writer = new XMLWriter(); echo var_dump(strtotime("-1 month"));
based on lfQZf
Output for 5.6.28, 7.0.14 - 7.1.0
int(1412160307)
Output for 7.0.6
int(1459633082)
Output for 7.0.5
int(1456920835)
Output for 7.0.4
int(1455051906)
Output for 7.0.3
int(1455744498)
Output for 7.0.2
int(1456042373)
Output for 7.0.1
int(1456213856)
Output for 7.0.0
int(1456484571)
Output for 5.6.21
int(1459529025)
Output for 5.6.20
int(1457508653)
Output for 5.6.19
int(1454782421)
Output for 5.6.18
int(1455431254)
Output for 5.6.17
int(1455847384)
Output for 5.6.16
int(1456577105)
Output for 5.6.15
int(1456666613)
Output for 5.6.14
int(1456849699)
Output for 5.6.13
int(1457987114)
Output for 5.6.12
int(1458379517)
Output for 5.6.11
int(1458665170)
Output for 5.6.10
int(1458843819)
Output for 5.6.9
int(1459034445)
Output for 5.6.8
int(1459231181)
Output for 5.6.7
int(1461511928)
Output for 5.5.35
int(1461268292)
Output for 5.5.34
int(1457614503)
Output for 5.5.33
int(1454919133)
Output for 5.5.32
int(1455556512)
Output for 5.5.31
int(1455944338)
Output for 5.5.30
int(1456933697)
Output for 5.5.29
int(1458123778)
Output for 5.5.28
int(1458476948)
Output for 5.5.27
int(1458573400)
Output for 5.5.26
int(1458938205)
Output for 5.5.25
int(1459129311)
Output for 5.5.24
int(1459329953)
Output for 5.4.45
int(1438910895)
Output for 5.4.44
int(1438910892)
Output for 5.4.43
int(1438910888)
Output for 5.4.42
int(1438910887)
Output for 5.4.41
int(1438910884)
Output for 4.3.0, 5.4.40
int(1438910883)
Output for 5.4.39
int(1438910881)
Output for 5.4.38
int(1438910879)
Output for 5.4.36 - 5.4.37
int(1438910877)
Output for 5.4.35
int(1438910875)
Output for 5.4.29 - 5.4.34
int(1412160312)
Output for 5.4.9 - 5.4.28
int(1412160313)
Output for 5.3.18 - 5.4.8
int(1412160314)
Output for 5.2.14 - 5.3.17
int(1412160315)
Output for 4.4.7 - 4.4.9, 5.0.3 - 5.2.13
int(1412160316)
Output for 5.0.0 - 5.0.2
int(1412114400)
Output for 4.3.1 - 4.4.6
int(1412160317)