<?php // bcpowmod ( string $base , string $exponent , string $modulus [, int $scale = 0 ] ) : string // Returns the result as a string, or NULL if modulus is 0 or exponent is negative. // ^ false // modulus is 0 assert(is_bool(bcpowmod('2', '2', '0'))); // bcpowmod -> FALSE // exponent is negative assert(is_bool(bcpowmod('2', '-2', '2'))); // bcpowmod -> FALSE // Output proof var_dump(false === bcpowmod('2', '2', '0') && false === bcpowmod('2', '2', '0'));
You have javascript disabled. You will not be able to edit any code.