| and || - what is the difference between these two operators in PHP?
|
||
| operates on the bits of a variable: 2 | 4 = 6
|| operates on The Boolean value of a variable: 2 || 4 = TRUE