Out of interest, why on windows does this produce a warning (and returns false):
range(date('Y'), date('Y') + 5)
Warning: range() [function.range]: step exceeds the specified range
Doesn't happen on the live server, just windows. I've been looking for the bug report but haven't found one. Also, if you run two iterations, only the first one fails.
I can replicate sometimes but not others. ie. If I refresh say 20 times, only 2 or 3 of them will give the warning.
I'm using 5.3.5