3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(strtotime('-12 months').'\n'); echo(strtotime('now -12 months').'\n'); echo(strtotime('now').'\n'); echo(strtotime(null).'\n');

preferences:
49.29 ms | 402 KiB | 5 Q