Robert V. Zwink wrote:
> What could be simpler than:
>
> $range = implode(" ", range('A', 'Z'));
> echo $range;
>
> result:
> A B C D . . .
The most short expression I found:
$r=join('',range(@A,@Z));
echo $r;
result: ABCDEFGHIJKLMNOPQRSTUVWXYZ
> Am I missing something here? All this loop, chr() & ord() stuff going on. .
Function range() is buggy in PHP 4.0.6 and others... range(int, int) is
ok, but range(str, str) is not.
Saludos
�ngel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php