On 3/12/14, 5:20 AM, Lester Caine wrote:
Crypto Compress wrote:
Unicode variable names ARE secondary, but if the handling of unicode
works as
well as it seems to be for me then it may be an option that can be
considered.
http://3v4l.org/kWb0U
Please help me, what is this about?
Exactly what has already been discussed?
You can use unicode strings in many areas of PHP, but it is not by
design, but rather as the result of 'holes' in the design.
That's not a hole in the design. It was quite deliberate and it had
little to do with Unicode at the time. It was a deliberate effort to not
artificially limit identifiers beyond that which the language syntax
naturally prevented. Think <space> ; , { } ( ) etc.
-Rasmus
IMHO it was the right decision to no artificially limit identifiers and it is a fair trade-off for case-insensitivity without unicode (class ß{} class SS{}).
With unicode identifiers there is at least one more problem through normalization to consider. somewhat simplified: $☀☁ and $⛅ (=== in unicode)