PHP 7 introduces a new function intdiv(), which performs integer division of its operands and return the division as int.
<?php $value = intdiv(10,3); var_dump($value); print(" "); print($value); ?>
It produces the following browser output −
int(3) 3