3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $today = time(); $two_years = strtotime("-2 years", $today); echo $two_years;
Output for 5.6.28, 7.0.20 - 7.2.0
1379426792
Output for 5.4.0 - 5.6.23, 7.0.0 - 7.0.8
1379426791