PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.1.inc

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.1.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.1.inc
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: 476 bytes
 

Contents

Class file image Download
<?php $var = array(); $var = [1,2,3]; $var = array(1,2,3); echo $var[1]; $foo = array($var[1],$var[2]); $foo = array( 1, 2, 3 ); $var = array/*comment*/(1,2,3); $var = array; function foo(array $array) {} $a = function (array $array) use ($foo): array {}; abstract function foo(): array; abstract function foo(): Foo\Bar; abstract function foo(): \Foo\Bar; array_map( static fn (array $value): array => array_filter($value), [] );