3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sdate = date('Y-m-d', strtotime('04/05/2014'); $date = date_create($sdate); date_add($date, date_interval_create_from_date_string('10 days')); echo date_format($date, 'Y-m-d');
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected ';' in /in/ho8VZ on line 3
Process exited with code 255.