Gen. partnerAlgotech

PHP function intdiv()

Integer division

|
September 11, 2019

Availability in PHP 7.0

Integer division

Parameters

Parameter Data type Default value Note
$dividend ???
$divisor ???

Return values

int

If divisor is 0, a {@link DivisionByZeroError} exception is thrown. If the dividend is PHP_INT_MIN and the divisor is -1, then an {@link ArithmeticError} exception is thrown.

Other resources

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.