static public function setUpBeforeClass() { parent::setUpBeforeClass(); self::ensureConstant('MATH_BIGINTEGER_MODE', MATH_BIGINTEGER_MODE_INTERNAL); self::ensureConstant('MATH_BIGINTEGER_OPENSSL_DISABLE', true); }
public static function setUpBeforeClass() { if (!extension_loaded('gmp')) { self::markTestSkipped('GNU Multiple Precision (GMP) extension is not available.'); } parent::setUpBeforeClass(); self::ensureConstant('MATH_BIGINTEGER_MODE', MATH_BIGINTEGER_MODE_GMP); }
public static function setUpBeforeClass() { if (!function_exists('openssl_public_encrypt')) { self::markTestSkipped('openssl_public_encrypt() function is not available.'); } parent::setUpBeforeClass(); self::ensureConstant('MATH_BIGINTEGER_MODE', MATH_BIGINTEGER_MODE_INTERNAL); }
public static function setUpBeforeClass() { if (!extension_loaded('bcmath')) { self::markTestSkipped('BCMath extension is not available.'); } parent::setUpBeforeClass(); self::ensureConstant('MATH_BIGINTEGER_MODE', MATH_BIGINTEGER_MODE_BCMATH); }