3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $frtn = strtotime('2015-04-29'.' + 14 days'); echo date('Y-m-d', $frtn); $today = date("Y-m-d"); $data_w = date("Y-m-d", (strtotime($today) + (60 * 60 * 24 * 14))); echo ' | '.$data_w;
Output for 4.3.0 - 5.0.5, 5.1.2 - 7.2.0
2015-05-13 | 2015-05-13
Output for 5.1.0 - 5.1.1
1970-01-01 | 2015-05-13