PHP xor | Sololearn: Learn to code for FREE!

PHP xor

Expect: True xor True = false False xor false = false True or false = true The code attached shows differently on true xor true = true In addition, I thought echo false would print false or 0 instead of nothing.

12th Mar 2022, 12:37 AM
Si Qi Zheng
Si Qi Zheng - avatar
1 ответ
A cast to integer may be necessary to display false (int)<expression>
12th Mar 2022, 7:55 AM