3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = 10; $monthName = date('M', strtotime('2012-'.$month.'-01')); echo $monthName.'<br />'; echo strtotime('first day of '.$monthName).'<br />'; echo strtotime('last day of '.$monthName).'<br />';

preferences:
33.46 ms | 402 KiB | 5 Q