Variable names may only contain alphanumeric characters. Underscores are not permitted. Numbers are permitted in variable names but are discouraged in most cases.
For instance variables that are declared with the "private" or "protected" modifier, the first character of the variable name must be a single underscore. This is the only acceptable application of an underscore in a variable name. Member variables declared "public" should never start with an underscore.
As with function names (see section 3.3) variable names must always start with a lowercase letter and follow the "camelCaps" capitalization convention.
Verbosity is generally encouraged. Variables should always be as verbose as
practical to describe the data that the developer intends to store in them. Terse
variable names such as "
$i" and "
discouraged for all but the smallest loop contexts. If a loop contains more than
20 lines of code, the index variables should have more descriptive names.