[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: arrays.md
File is not writable. Editing disabled.
## Arrays #### SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys 🔧 Arrays should be defined with keys in alphabetical order. It defines where new entries should be inserted. It reduces merge conflicts and duplicate entries. This sniff enforces natural sorting of array definitions by key in multi-line arrays. #### SlevomatCodingStandard.Arrays.ArrayAccess 🔧 Disallow whitespace between array access operator and the variable, or between array access operators. #### SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation Disallows implicit array creation. #### SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed 🚧 Array must have keys specified for either all or none of the values. #### SlevomatCodingStandard.Arrays.MultiLineArrayEndBracketPlacement 🔧 Enforces reasonable end bracket placement for multi-line arrays. #### SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace 🔧 Checks whitespace in single line array declarations (whitespace between brackets, around commas, ...). Sniff provides the following settings: * `spacesAroundBrackets`: number of spaces you require to have around array brackets * `enableEmptyArrayCheck` (default: `false`): enables check for empty arrays #### SlevomatCodingStandard.Arrays.TrailingArrayComma 🔧 Commas after last element in an array make adding a new element easier and result in a cleaner versioning diff. This sniff enforces trailing commas in multi-line arrays. Sniff provides the following settings: * `enableAfterHeredoc`: enables/disables trailing commas after HEREDOC/NOWDOC, default based on PHP version.
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium171.web-hosting.com
Server IP: 162.0.209.115
PHP Version: 8.0.30
Server Software: LiteSpeed
System: Linux premium171.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 71.36 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: aircyknj
User ID (UID): 2056
Group ID (GID): 2052
Script Owner UID: 2056
Current Dir Owner: N/A