3v4l.org

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

preferences:
41.66 ms | 402 KiB | 5 Q