gmp_or is a function in PHP that returns the bitwise OR two numbers.
gmp_or(GMP|int|string $num1, GMP|int|string $num2): GMP
The function takes in two parameters, num1 and num2.
num1andnum2can be a numericstring,object, or the GMP GNU Multiple Precision Arithmetic Library inttype.
The function returns the bitwise OR num1 and num2. The value returned is type GMP number.
<?php$val1 = "10";$val2 = "9";echo gmp_or($num1, $num2);?>
11