File "DisallowShortArraySyntaxUnitTest.inc.fixed"
Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.inc.fixed
File size: 181 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
$var = array();
$var = array();
$var = array(1,2,3);
$var = array(1,2,3);
echo $var[1];
$foo = array($var[1],$var[2]);
$foo = array(
1,
2,
3
);