note 78478 deleted from language.variables by betz
| From: | betz@php.net | Date: | Tue, 06 Nov 2007 10:37:41 +0000 |
| Subject: | note 78478 deleted from language.variables by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132040@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
That's a pedantic comment, but at
http://www.php.net/manual/en/language.variables.php
you could shorten the regular expression for variable names substituting a-zA-Z with A-z. These are
exactly the same character sets. In result it would be:
[A-z_\x7f-\xff][A-z0-9_\x7f-\xff]*