Opening book details…
Can I read PHP Tag Usage Guidelines on EtoBox?
PHP Tag Usage Guidelines by Michael Miko is a document available to read on EtoBox.
What is PHP Tag Usage Guidelines about?
The document provides PHP coding style guidelines and best practices including: - Always use <?php ?> tags and omit the closing tag. Use double quotes for variables in strings and single quotes otherwise. - Follow brace styles like if/elseif/else on the same line. Name classes with uppercase and underscores, methods with lowercase camelCase. - Always use === and !== for boolean comparisons. Typecast values before database insertion. Avoid duplicate code by creating methods or libraries.
- Author
- Michael Miko
- Language
- EN