(PHP 4 = 4.0.4) mod を法として( base の exp 乗)を計算します。 exp が負の場合、結果は未定義(undefined)と なります。