3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = "2012-12-12 23:45:02"; echo date("y-m-10", strtotime("+1 month",strtotime($datetime)));

preferences:
49.35 ms | 402 KiB | 5 Q