Re: Unicode strings?

From: Date: Thu, 13 Mar 2014 01:10:11 +0000
Subject: Re: Unicode strings?
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-73091@lists.php.net to get a copy of this message
Hi all, On Wed, Mar 12, 2014 at 9:41 PM, Crypto Compress < cryptocompress@googlemail.com> wrote: > 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. >> > > http://3v4l.org/bJYDM > Oh, i see. Thanks! The spec of variable name is defined. As a regular expression, it would be expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' http://www.php.net/manual/en/language.variables.basics.php Therefore, people are using something more meaningful like http://3v4l.org/78ek4 It's useful for teaching kids to program with their native language, for example. I see many codes that use Japanese strings in Unit tests. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#73091) next »