3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = DateTime::createFromFormat('Y-m-d H:i:s', '2012-07-13 01:00:00', new DateTimeZone('Europe/Berlin')); $end = DateTime::createFromFormat('Y-m-d H:i:s', '2012-07-13 01:30:00', new DateTimeZone('Europe/Berlin')); while($start =< $end) { echo $start->format('H:i:s'), "\n"; $start->modify('+10 minutes'); }
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '<' in /in/CPc8L on line 5
Process exited with code 255.