php divide code example Example 1: php division $a / $b Division Quotient of $a and $b. Example 2: how to divide in php $a = $b / $c;