REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 733 B
Close
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.inc
Text
Base64
<?php $myArray['key'] = $value; $myArray[/* key start */'key'] = $value; $myArray[/* key start */'key'/* key end */] = $value; $myArray [ 'key' ] = $value; if ($array[($index + 1)] === true) { } else if ($array [ ($index + 1) ] === null) { } $array = [ 'foo' => 'bar', 'bar' => 'foo', ]; if ($foo) {} [$a, $b] = $c; echo foo()[ 1 ]; echo $this->addedCustomFunctions['nonce']; echo $this->deprecated_functions[ $function_name ]['version']; echo [ 1,2,3 ][0]; echo [ 1,2,3 ][ 0 ]; echo 'PHP'[ 0 ]; $array = []; $var = $var[$var[$var]]]; // Syntax error $var = $var[$var[$var]; // Syntax error $myArray[ /* key start */'key'] = $value; $myArray[ /* key start */'key'/* key end */ ] = $value;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ArrayBracketSpacingUnitTest.inc
733 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayBracketSpacingUnitTest.inc.fixed
712 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayBracketSpacingUnitTest.php
1.49 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.1.inc
9.66 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.1.inc.fixed
9.94 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.2.inc
9.28 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.2.inc.fixed
9.54 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.3.inc
174 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.4.inc
291 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.4.inc.fixed
290 B
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ArrayDeclarationUnitTest.php
6.67 KB
lrw-r--r--
2025-11-04 16:30:35
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).