The | operator is a binary (infix) bitwise OR operator. This should not be confused with the || operator which is a logical OR operator. The | operator expects an integer right hand operand and an integer left hand operand. If either operand is a string, it will be automatically coerced to an integer before the OR operator is applied.syntax: <left_expr> | <right_expr><left_expr> and <right_expr> are refered to as the left and right operand respectively and may themselves be simple values or complex expressions.
e.g. 0x1234 | 0x00F0 yields 0x12F4 0x1234 | 0x0800 yields 0x1A34 (0x1204 + 0x0052) | 0x0800 yields 0x1A56