Write an array via loop
<p>I need to write an array that looks like this:</p>

<pre><code>$years = array('12', '11', '10', '09', '08');
</code></pre>

<p>I would like to have a script that will create this array, so that I don't have to update it every year. </p>

<p>Tried this:</p>

<pre><code>for ($i = date("y"); $i &gt;= 08; $i++) {
    $yrs .= '"'.$i.'", ';
}

$years = array($yrs);
</code></pre>
