range() is good, but what I was getting at was a
shorthand/shortcut/alternate syntax kinda thing.
Julio Nobrega Trabalhando wrote:
> $array = range('a','z');
> As usual your mileage may vary but it worked here :-)
> Julio Nobrega.
> Um dia eu chego lá:
> Ajudei? Salvei? Que tal um presentinho?
> "Mike Eheler" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>If this is the wrong place for it, please point me to the right place.
>>This is real small, though.. I'd like to see a shorthand for defining
>>arrays.. for example
>>$ucase_alphabet = array(['A'..'Z']); (creates an array of all alphabet
>>$numeric = array([1..100]);
>>Or something of that sort. Just something that popped into my mind. PHP
>>feels like a language that has been built on little suggestions like
>>this, so I thought I'd post it. :)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]