I have always used ||
(two pipes) in OR expressions, both in C# and PHP. Occasionally I see a single pipe used: |
. What is the difference between those two usages? Are there any caveats when using one over the other or are they interchangeable?
I have always used ||
(two pipes) in OR expressions, both in C# and PHP. Occasionally I see a single pipe used: |
. What is the difference between those two usages? Are there any caveats when using one over the other or are they interchangeable?