1

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?

Antonino Bonumore
  • 787
  • 1
  • 13
  • 27

0 Answers0