Robert Cummings wrote:
> On Thu, 2006-10-26 at 15:31 +0200, Jochem Maas wrote:
>> bunch of space wasters ;-)
>>
>> <?php foreach (range(1, 31) as $d) echo '<option value="',$d,'"',($d = 
>> $selDay?'
>> selected="selected"':''),'>',$d,'</option>'; ?>
> 
> Specifically:
> 
>> range(1, 31)
> 
> Memory waster ;)

any idea as to what the damage is as compared to the classic for loop?

> 
> Cheers,
> Rob.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to