Re: PHP6, Unicode for language functions, classes, methods, vars names
| From: | Rasmus Lerdorf | Date: | Tue, 13 Sep 2005 16:39:49 +0000 |
| Subject: | Re: PHP6, Unicode for language functions, classes, methods, vars names | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18835@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
> Rasmus Lerdorf wrote:
>
>>What do you mean? Why wouldn't it be portable?
>
>
> Well, for one thing code written to use unicode identifiers will
> immediately be limited to running on PHP 6 installs. While code using
> ASCII identifier with standard "compat" layer could run just fine.
>
> Another reason to only allow ASCII is that now code can be read by
> anyone rather then just the people who are familiar with the particular
> language user.
This is a choice that should be up to the developer. If she wants to
share his code with people who don't understand his language and/or
character set, then she should use some common language/character set.
But the language should not force this limitation on her.
-Rasmus