3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $days[] = json_decode(file_get_contents('config/schedule.json'), TRUE); foreach($days as $day) { echo '<div class="day">'; echo '<h2>' . $day . '</h2>'; echo '<ul>'; foreach($days[][] as $time=>$item) { echo '<li>'; echo '<span class="time">' . $time . '</span>&nbsp;'; echo $item; echo '</li>'; } echo '</ul>'; echo '</div>'; }
Output for 5.3.0 - 5.4.24
Fatal error: Cannot use [] for reading in /in/4n9jD on line 8
Process exited with code 255.