(PHP 3, PHP 4) modulus で left operand を割った余りを求めます。 bcdiv() も参照下さい。