For word delimiters, use uppercase letters for the rest of the words;
The first letter in the name is capitalized;
Example
class NameOneTwo
class Name
Argument names in methods
- The first letter is always lowercase;
- All other words in the name begin with a capital letter, as in the naming of classes.
Example
function HandleError ($ errorNumber) {
$error = new OsError; $time_of_error = $error->GetTimeOfError(); $error_processor = $error->GetErrorProcessor();
}
Who agree?