Source Code:
(back to article)
<?php $dividend = 10; $divisor = 3; // Perform integer division using the intdiv() function $quotient = intdiv($dividend, $divisor); // Output the quotient echo $quotient; ?>
Result:
Report an issue