[nycphp-talk] Alphanumeric Range
Alberto dos Santos
yournway at gmail.com
Wed May 10 17:05:29 EDT 2006
Hey list...
This has got to be one of the weirdest posts I have read in here, LOL.
But, nonetheless, it hints of pure genious, Flavio. Congrats... Shucks, base
36.... How does anyone think of that?
>
> AFAICT: PHP(5) can natively count by base 36.
>
> $min = 'A0A';
> $max = 'A9Z';
> for ($i = $min; $i < $max; ++$i)
> {
> echo $i, '<br />';
> }
>
>
--
Alberto dos Santos
Consultor em TI
IT Consultant
http://www.yournway.com
A internet à sua maneira.
The Internet your own way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060510/a6f53449/attachment.html>
More information about the talk
mailing list