3v4l.org

run code in 300+ PHP versions simultaneously
<?php $next = strtotime("+1 month"); $date = new DateTime($next); echo $date->format(DateTime::RFC2822);

preferences:
49.49 ms | 402 KiB | 5 Q