PHP Code Standards: Difference between revisions
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
=== 1.a Local Variables === | === 1.a Local Variables === | ||
Local variables should be all lower case, ex. email | Local variables should be all lower case, ex. <pre>email</pre> | ||
If the local variable is made up of multiple words, use snake case, ex. | If the local variable is made up of multiple words, use snake case, ex. <pre>email_address</pre> | ||
Revision as of 03:01, 26 October 2022
Popular Marketing Code Standards
1. Variable Naming Conventions
1.a Local Variables
Local variables should be all lower case, ex.
If the local variable is made up of multiple words, use snake case, ex.
email_address