3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $start = new DateTime('2013-02-01'); $end = new DateTime('2013-02-17'); $interval = new DateInterval('P1D'); $period = new DatePeriod($start, $interval, $end); if ($period === null) { echo "null"; }
Output for 5.3.0 - 5.5.1
Parse error: syntax error, unexpected '<' in /in/1cdkF on line 3
Process exited with code 255.