PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 558 bytes
 

Contents

Class file image Download
<documentation title="Lowercase Function Keywords"> <standard> <![CDATA[ The PHP keywords function, public, private, protected, and static should be lowercase. ]]> </standard> <code_comparison> <code title="Valid: Lowercase function keyword."> <![CDATA[ <em>function</em> foo() { return true; } ]]> </code> <code title="Invalid: Uppercase function keyword."> <![CDATA[ <em>FUNCTION</em> foo() { return true; } ]]> </code> </code_comparison> </documentation>