note 78478 added to language.variables
| From: | Anonymous at osu1 dot php dot net | Date: | Sat, 13 Oct 2007 22:24:02 +0000 |
| Subject: | note 78478 added to language.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131374@lists.php.net to get a copy of this message | ||
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]*
----
Server IP: 69.147.83.197
Probable Submitter: 83.9.60.248
----
Manual Page -- http://www.php.net/manual/en/language.variables.php
Edit -- https://master.php.net/note/edit/78478
Del: integrated -- https://master.php.net/note/delete/78478/integrated
Del: useless -- https://master.php.net/note/delete/78478/useless
Del: bad code -- https://master.php.net/note/delete/78478/bad+code
Del: spam -- https://master.php.net/note/delete/78478/spam
Del: non-english -- https://master.php.net/note/delete/78478/non-english
Del: in docs -- https://master.php.net/note/delete/78478/in+docs
Del: other reasons-- https://master.php.net/note/delete/78478
Reject -- https://master.php.net/note/reject/78478
Search -- https://master.php.net/manage/user-notes.php