WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML


 

PHP 7 Integer Division




performs integer division of its operands and return the division as int




Example

<?php
   $value = intdiv(8,2);
   var_dump($value);
   print(" ");
   print($value);
?>

result
int(4) 4