PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 2 years ago
Size: 546 bytes
 

Contents

Class file image Download
<documentation title="Lowercase Control Structure Keywords"> <standard> <![CDATA[ The php keywords if, else, elseif, foreach, for, do, switch, while, try, and catch should be lowercase. ]]> </standard> <code_comparison> <code title="Valid: Lowercase if keyword."> <![CDATA[ <em>if</em> ($foo) { $bar = true; } ]]> </code> <code title="Invalid: Uppercase if keyword."> <![CDATA[ <em>IF</em> ($foo) { $bar = true; } ]]> </code> </code_comparison> </documentation>