...
Use logical and descriptive names for your variables. Variables used in iterating loops, such as $i, $j, $k, etc., are exceptions to this rule. Variables should contain only lower-case letters, underscores, and numbers, and should start with a letter. Values true, false, and null should always be lower-case.
Warning | |||||
---|---|---|---|---|---|
| |||||
|
...
Tip | |||||
---|---|---|---|---|---|
| |||||
|
Keywords
Keywords should always be lower-cased. This is so they do not conflict with constants.
...
Statements
Blesta uses Compact Control Readability style. Each statement should begin on its own line. The exception to this rule is do-while.
...