Re: [DISCUSSION] Multilingual PHP

From: Date: Thu, 11 Apr 2019 22:09:50 +0000
Subject: Re: [DISCUSSION] Multilingual PHP
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-105258@lists.php.net to get a copy of this message
On Thu, 11 Apr 2019, Walter Parker wrote: > I also am old enough to have used/remember using BASIC. I remember German > and Japanese friends that wrote in BASIC. It was interesting to see German > programs where all the keywords were in English and all the text was in > German. The Japanese was even more strange as the system had to switch > between the code pages for ASCII/LATIN and the one for the Japanese > Language. > > Today to get something other an ASCII/LATIN, we would have to support > Unicode for source code. Does PHP currently work if Unicode is used for > identifiers? Yes. You can use UTF-8 for function names and variables (but please don't!). My favourite annoyance is using a non breaking space in function/method names ;-) cheers, Derick

« previous php.internals (#105258) next »