RE: [PHP] Feature Suggestion
| From: | Robert V. Zwink | Date: | Fri, 18 Jan 2002 14:41:18 +0000 |
| Subject: | RE: [PHP] Feature Suggestion | ||
| References: | 1 | Groups: | php.dev php.general |
| Request: | Send a blank email to php-dev+get-77433@lists.php.net to get a copy of this message | ||
I think this feature already exists. Check out:
http://www.php.net/manual/en/function.range.php
Robert Zwink
http://www.zwink.net/daid.php
-----Original Message-----
From: Mike Eheler [mailto:meheler@idearesource.com]
Sent: Thursday, January 17, 2002 7:59 PM
To: php-dev@lists.php.net; php-general@lists.php.net
Subject: [PHP] Feature Suggestion
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
characters, uppercase)
$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. :)
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net