opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Squiz
/
Tests
/
Arrays
➕ New
📤 Upload
✎ Editing:
ArrayDeclarationUnitTest.4.inc
← Back
<?php // Intentional parse error (missing T_AS in foreach). // This should be the only test in this file. // Testing that the code preventing the sniff to act on short lists inside a foreach doesn't // interfere with the rest of sniff when the `as` keyword is missing. foreach ([$a , $b])
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel