3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_year = date("Y"); $years = range(intval($current_year), 2016); echo "<ul>"; foreach ($years as $value) { echo "<li><a href='blog_posts.php?month=01&yr=$value;'>$value</a></li>"; } echo "</ul>";

preferences:
25.39 ms | 405 KiB | 5 Q