Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑到这段代码
if ($x > 0 and $x !== 1) { return; }
根据 PSR-12 标准,比较运算符是否表示为andandor而不是&&并被认为是可接受的?||
and
or
&&
||