3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = strtotime("first day of this month 2015"); echo $data; echo strtotime($data . " -1 year");
based on gvIu4
Output for 5.3.21 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
1451675700
Output for 5.5.24, 5.5.35, 5.6.21, 7.0.6
1462126500
Output for 7.0.5
145953450079815592793
Output for 5.5.31 - 5.5.33, 5.6.15 - 5.6.19, 7.0.0 - 7.0.4
1456859700
Output for 5.6.20
145953450079816197593
Output for 5.6.14
145953450079816543193
Output for 5.6.13
145953450079816629593
Output for 5.6.12
145953450079817061593
Output for 5.6.11
145953450079817407193
Output for 5.6.10
145953450079817493593
Output for 5.6.9
145953450079817666393
Output for 5.6.8
145953450079817925593
Output for 5.5.34
145953450079816283993
Output for 5.5.30
145953450079815419993
Output for 5.5.29
145953450079816802393
Output for 5.5.28
145953450079817147993
Output for 5.5.27
145953450079817234393
Output for 5.5.26
145953450079817579993
Output for 5.5.25
145953450079817839193