3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Los_Angeles'); for ($ts = strtotime('2013-11-01 00:00:00'); $ts <= strtotime('2013-11-01 00:00:00'); $ts += 24 * 60 * 60) { var_dump(date('Y-m-d', $ts); }
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected ';' in /in/ea5UY on line 5
Process exited with code 255.