PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Keywords/ShortFormTypeKeywordsStandard.xml

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Keywords/ShortFormTypeKeywordsStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Keywords/ShortFormTypeKeywordsStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 529 bytes
 

Contents

Class file image Download
<documentation title="Short Form Type Keywords"> <standard> <![CDATA[ Short form of type keywords MUST be used i.e. bool instead of boolean, int instead of integer etc. ]]> </standard> <code_comparison> <code title="Valid: Short form type used."> <![CDATA[ $foo = (bool) $isValid; ]]> </code> <code title="Invalid: Long form type type used."> <![CDATA[ $foo = <em>(boolean)</em> $isValid; ]]> </code> </code_comparison> </documentation>