PHP <-> Object Pascal | Bitwise or

PHP

|

Description

par1 | par2
Used keywords: |

Input


Output

Examples

PHP

Bitwise or the possible of use:
$x = 1 | 2;          // x = 3
$y = 0xa | 5;        // y = F
$z = 0xf0 | ($x | $y); // z = FF

PHP

Even one example in what situations we can use the operation bitwise or:
$i | $j
0xff | $k
64 | ($i | $k)
.
Object Pascal

or

Description

par1 or par2
Used keywords: or

Input


Output

Examples

Object Pascal

Bitwise or the possible of use:
x := 1 or 2;          // x = 3
y := $a or 5;        // y = F
z := $f0 or (x or y); // z = FF

Object Pascal

Even one example in what situations we can use the operation bitwise or:
i or j
$ff or k
64 or (i or k)

You can find it in the following collections: bitwise operators
Languages: en hu cz sk