php xor is a logical operator in PHP, also called the "XOR" operator. Its usage syntax is such as "x Return true.
The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
php What does xor mean?
xor is a logical operator in PHP, also called the "XOR" operator.
Syntax: x xor y
XOR
If one and only one of x and y is true, then true is returned
x=6 y=3 (x==6 xor y==3) 返回 false
PHP logical operation The symbols are as follows:
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of php xor what does it mean. For more information, please follow other related articles on the PHP Chinese website!