The PHP intdiv() function is used for integer division.
Syntax
intdiv(dividend, divisor)
Parameters
Parameter | Description |
---|---|
dividend | Specifies a number that will be divided (required) |
divisor | Specifies the number to divide the dividend by (required) |