3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = date( "Y-m-d 11:00:00", strtotime("-3 months ago")); $end = date( "Y-m-d 11:00:00", strtotime("-2 months")); echo $start . ' - ' . $end;

preferences:
42.7 ms | 402 KiB | 5 Q