3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = 'november'; $year = '2015'; echo new \MongoDate(strtotime("first day of " . $month . " " . $year));

preferences:
52.06 ms | 402 KiB | 5 Q