3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo date('-m-d', strtotime('+ 15 days')); $d = new DateTime('2017-01-19'); $d->modify('fifteenth day of this month'); //cho date("Y-m-d",$d); echo print_r($d,1);

preferences:
49.9 ms | 402 KiB | 5 Q