0

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. https://code.sololearn.com/w44fOBaVt7DD/?ref=app

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