3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = strtotime("first day of this month year 2015"); echo $data; echo strtotime($data . " -1 year");
based on eLVtn
Output for 5.6.28, 7.0.20 - 7.2.0
1420379755
Output for 7.0.6
1432207099
Output for 7.0.5
1428045648
Output for 7.0.4
1426019230
Output for 7.0.3
1426715436
Output for 7.0.2
1427083429
Output for 7.0.1
1427181092
Output for 7.0.0
1427447096
Output for 5.6.21
1430576020
Output for 5.6.20
1428646959
Output for 5.6.19
1425789308
Output for 5.6.18
1426426326
Output for 5.6.17
1426813447
Output for 5.6.16
1427536449
Output for 5.6.15
1427622198
Output for 5.6.14
1429025149
Output for 5.6.13
1429113892
Output for 5.6.12
1429511640
Output for 5.6.11
1429880377
Output for 5.6.10
1429974350
Output for 5.6.9
1430166692
Output for 5.6.8
1430370117
Output for 5.5.35
1432339273
Output for 5.5.34
1428741386
Output for 5.5.33
1425886440
Output for 5.5.32
1426613292
Output for 5.5.31
1426911171
Output for 5.5.30
1427888132
Output for 5.5.29
1429251752
Output for 5.5.28
1429609945
Output for 5.5.27
1429702269
Output for 5.5.26
1430070372
Output for 5.5.25
1430269895
Output for 5.5.24
1432452903
Output for 5.4.45
1420379759
Output for 5.4.44
1420379760
Output for 5.4.43
1420379761
Output for 5.4.41 - 5.4.42
1420379762
Output for 5.4.40
1420379763
Output for 5.4.38 - 5.4.39
1420379764
Output for 5.4.36 - 5.4.37
1420379765
Output for 5.4.34 - 5.4.35
1420379766
Output for 5.3.29, 5.4.31 - 5.4.32
1420379767
Output for 5.4.27 - 5.4.30
1420379768
Output for 5.4.23 - 5.4.26
1420379769
Output for 5.3.28, 5.4.20 - 5.4.22
1420379770
Output for 5.3.27, 5.4.18 - 5.4.19
1420379771
Output for 5.3.25 - 5.3.26, 5.4.15 - 5.4.17
1420379772
Output for 5.3.21 - 5.3.24, 5.4.11 - 5.4.14
1420379773