3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-1', strtotime('now +2 month'));

preferences:
52.98 ms | 402 KiB | 5 Q