remainder operator in php code example
Example 1: php mod
<?php
/*
* Makes the value of "result" congruent to "value1" modulo "value2".
* opcode number: 5
*/
echo 6 % 3;
?>
Example 2: how to divide in php
$a = $b / $c;
<?php
/*
* Makes the value of "result" congruent to "value1" modulo "value2".
* opcode number: 5
*/
echo 6 % 3;
?>
$a = $b / $c;