PHP select option years

How to construct a list of <option> elements starting with the current year:

<?php
$yyyy = date('Y');
$count = $yyyy;
$end = 1920;
for ($count; $count >= $end; $count--) {
  echo "<option value='" . "$count" . "'>" . "$count" . "</option>";
}
?>

Article Type

General