Are comparison format and and or satisfy the PSR12 standard?

124 Views Asked by At

Considering this fragment of code

if ($x > 0 and $x !== 1)   {
 return;
}

Is the comparison operator expressed as and and or rather than && and || considered acceptable according to the PSR-12 standard?

0

There are 0 best solutions below