3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = 10; $monthName = date('M', strtotime('2012-'.$month.'-01')); echo $monthName."\r\n"; echo date('d.m.Y H:i:s', strtotime('first day of '.$monthName))."\r\n"; echo date('d.m.Y H:i:s', strtotime('last day of '.$monthName))."\r\n";

preferences:
37.41 ms | 402 KiB | 5 Q