|
intdivInteger division Beschreibung
int intdiv
( int
$dividend
, int $divisor
)
Returns the integer quotient of the division of Parameter-Liste
Rückgabewerte
The integer quotient of the division of Fehler/Exceptions
If Beispiele
Beispiel #1 intdiv example
<?phpint(1) int(-1) int(-1) int(1) int(1) int(1) Fatal error: Uncaught ArithmeticError: Division of PHP_INT_MIN by -1 is not an integer in %s on line 8 Fatal error: Uncaught DivisionByZeroError: Division by zero in %s on line 9 |