fork(11) download
  1. <?php
  2. $d = new DateTime('2015-01-31');
  3. $d->modify('first day of next month');
  4. echo $d->format('Y-m-28');
  5. ?>
Success #stdin #stdout 0.02s 24400KB
stdin
Standard input is empty
stdout
2015-02-28