3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo(strtotime('-12 months').'\n'); echo(strtotime('now -12 months').'\n'); echo(strtotime('now').'\n'); echo(strtotime('2014-05-22').'\n');
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.2.14, 5.2.16 - 5.4.44, 5.5.0 - 7.3.1
1369228342\n1369228342\n1400764342\n1400709600\n
Output for 5.4.45
1369228342\n1369228343\n1400764343\n1400709600\n
Output for 5.2.15
1369228343\n1369228343\n1400764343\n1400709600\n
Output for 5.0.0 - 5.0.2
1369173600\n1369173600\n1400709600\n1400709600\n