Php
From Wiki
Naming Convention - PHP
File Name
- all character is in lower case and using underscore to separate word.
- Example
file_name.php
Class
- PASCAL casing with start word is capital
- No underscore or space to separate word
- Examples
MyClass File
Function/Method
- Use lower case
- underscore to separate word
- If possible start with the action
Examples
get_data() use_this_function();
Variables
- Lower Camel Case
