3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $days = 180; echo time() . '<br/>'; echo strtotime("-$days days");
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.4.43, 5.4.45 - 5.5.16, 5.5.18 - 5.5.27, 5.5.29 - 5.6.31, 5.6.33 - 7.2.10, 7.2.12 - 7.3.0
1400250873<br/>1384702473
Output for 5.4.44, 7.2.11
1400250874<br/>1384702474
Output for 5.5.17, 5.5.28, 5.6.32
1400250873<br/>1384702474
Output for 5.0.0 - 5.0.2
1400250873<br/>1384642800