note 109109 deleted from language.variables.basics by googleguy

From: Date: Mon, 17 Sep 2012 00:03:53 +0000
Subject: note 109109 deleted from language.variables.basics by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-190816@lists.php.net to get a copy of this message
Note Submitter: donatj at gmail dot com ---- The regular expression they provide is not correct. It *is* a good recommendation but having inherited several cyrillic projects over the years, I know this not to be the case. Many many UTF-8 characters outside that range can be used as variables. As an example, try: <?php $Ελληνικά = "Γειά σου κόσμος (Hello World)!"; echo $Ελληνικά; ?> It does in fact return the promised result! Γειά σου κόσμος (Hello World)! And all of those letters, including the E appearing thing are outside of the extended ASCII range implied by that regular expression.

« previous php.notes (#190816) next »