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.', 23:59:59'))."\r\n";

preferences:
43.4 ms | 402 KiB | 5 Q