3v4l.org

run code in 300+ PHP versions simultaneously
<?php $year = 2015; $year -= date("Y"); echo strtotime("first day of this month -1 year");

preferences:
34.01 ms | 402 KiB | 5 Q