note 125142 added to userlandnaming.rules
| From: | Anonymous@php.net | Date: | Thu, 25 Jun 2020 01:48:21 +0000 |
| Subject: | note 125142 added to userlandnaming.rules | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-214803@lists.php.net to get a copy of this message | ||
#### Rules for PHP identifiers
1. A variable starts with the $ sign, followed by the name of the variable.
2. A variable name must start with a letter or the underscore character.
3. A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ).
4. Identifiers are case sensitive. Therefore, a variable named $unicorn is different from a variable
named $Unicorn, $uNicOrn, or $unicorN.
5. Identifiers can be any length.
6. An identifier name canât be identical to any of PHPâs predefined keywords.
----
Server IP: 45.112.84.4
Probable Submitter: 101.0.109.162 (proxied: 101.100.156.18)
----
Manual Page -- http://php.net/manual/en/userlandnaming.rules.php
Edit -- https://master.php.net/note/edit/125142
Del: integrated -- https://master.php.net/note/delete/125142/integrated
Del: useless -- https://master.php.net/note/delete/125142/useless
Del: bad code -- https://master.php.net/note/delete/125142/bad+code
Del: spam -- https://master.php.net/note/delete/125142/spam
Del: non-english -- https://master.php.net/note/delete/125142/non-english
Del: in docs -- https://master.php.net/note/delete/125142/in+docs
Del: other reasons-- https://master.php.net/note/delete/125142
Reject -- https://master.php.net/note/reject/125142
Search -- https://master.php.net/manage/user-notes.php