How can dynamically generate some values in php? : <p>I want to store these values in an array</p>

<pre><code>$hours = array("06:00", "06:15", "06:30"....etc );
</code></pre>

<p>The last value is <code>23:45</code> </p>

<p>I wish it to be stored in ascending order.</p>

<p>My question is ... how I can automatically generate these values and add them in array?</p>

<p>If you manually add them .... they are many and it is not good.</p>

<p>You tell me please a method by which I could dynamically generate these values?</p>

<p>Thanks in advance!</p>
