3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date_from = $date_to = date_create(); $date_from = date_modify($date_from, '+1 week'); $date_to = date_modify($date_to, '+5 weeks'); echo date_format($date_from, 'd.m.Y');
based on OARVB
Output for 5.5.0 - 7.3.0rc4
11.07.2016