3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Los_Angeles'); for ( $time = new DateTime('2013-11-01 00:00:00'), $end = new DateTime('2013-11-05 00:00:00'); $time <= $end; $time->add('P1D') ) { var_dump($time->format('Y-m-d'); }
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected ';' in /in/vhGir on line 11
Process exited with code 255.