diff --git a/reference/gmp/functions/gmp-abs.xml b/reference/gmp/functions/gmp-abs.xml index 8715d1c02d..abd0618129 100644 --- a/reference/gmp/functions/gmp-abs.xml +++ b/reference/gmp/functions/gmp-abs.xml @@ -1,6 +1,6 @@ - + gmp_abs Absolute value @@ -10,7 +10,7 @@ &reftitle.description; GMPgmp_abs - GMPa + GMPintstringnum Get the absolute value of a number. @@ -22,7 +22,7 @@ - a + num &gmp.parameter; @@ -34,7 +34,7 @@ &reftitle.returnvalues; - Returns the absolute value of a, as a GMP number. + Returns the absolute value of num, as a GMP number. @@ -65,7 +65,6 @@ echo gmp_strval($abs2) . "\n"; - - + gmp_add Add numbers @@ -10,8 +10,8 @@ &reftitle.description; GMPgmp_add - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 Add two numbers. @@ -23,7 +23,7 @@ - a + num1 The first summand (augent). @@ -32,7 +32,7 @@ - b + num2 The second summand (addend). @@ -75,7 +75,6 @@ echo gmp_strval($sum) . "\n"; - - + gmp_and Bitwise AND @@ -10,8 +10,8 @@ &reftitle.description; GMPgmp_and - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 Calculates bitwise AND of two GMP numbers. @@ -23,13 +23,13 @@ - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -70,7 +70,6 @@ echo gmp_strval($and2) . "\n"; - - gmp_binomial @@ -10,10 +9,10 @@ &reftitle.description; - GMPfalsegmp_binomial - mixedn + GMPgmp_binomial + GMPintstringn intk - + Calculates the binomial coefficient C(n, k). @@ -45,20 +44,41 @@ &reftitle.returnvalues; - Returns the binomial coefficient C(n, k), &return.falseforfailure;. + Returns the binomial coefficient C(n, k). - &reftitle.errors; - Issues E_WARNING if k is negative. + Throws ValueError if k is negative. + Prior to PHP 8.0.0, E_WARNING was issued instead. - + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + This function no longer returns &false; on failure. + + + + + + + - + gmp_clrbit Clear bit @@ -10,12 +10,12 @@ &reftitle.description; voidgmp_clrbit - GMPa + GMPnum intindex Clears (sets to 0) bit index in - a. The index starts at 0. + num. The index starts at 0. @@ -24,7 +24,7 @@ - a + num &gmp.parameter; @@ -75,7 +75,7 @@ echo gmp_strval($a) . "\n"; Unlike most of the other GMP functions, gmp_clrbit - must be called with a GMP resource that already exists (using + must be called with a GMP object that already exists (using gmp_init for example). One will not be automatically created. @@ -93,7 +93,6 @@ echo gmp_strval($a) . "\n"; - - + gmp_cmp Compare numbers @@ -10,8 +10,8 @@ &reftitle.description; intgmp_cmp - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 Compares two numbers. @@ -23,13 +23,13 @@ - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -72,7 +72,6 @@ echo "$cmp1 $cmp2 $cmp3\n"; - - + gmp_com Calculates one's complement @@ -10,10 +10,10 @@ &reftitle.description; GMPgmp_com - GMPa + GMPintstringnum - Returns the one's complement of a. + Returns the one's complement of num. @@ -22,7 +22,7 @@ - a + num &gmp.parameter; @@ -34,7 +34,7 @@ &reftitle.returnvalues; - Returns the one's complement of a, as a GMP number. + Returns the one's complement of num, as a GMP number. @@ -60,7 +60,6 @@ echo gmp_strval($com) . "\n"; - - + gmp_div_q Divide numbers @@ -10,12 +10,12 @@ &reftitle.description; GMPgmp_div_q - GMPa - GMPb - introundGMP_ROUND_ZERO + GMPintstringnum1 + GMPintstringnum2 + introunding_modeGMP_ROUND_ZERO - Divides a by b and + Divides num1 by num2 and returns the integer result. @@ -25,7 +25,7 @@ - a + num1 The number being divided. @@ -34,20 +34,20 @@ - b + num2 - The number that a is being divided by. + The number that num1 is being divided by. &gmp.parameter; - round + rounding_mode The result rounding is defined by the - round, which can have the following + rounding_mode, which can have the following values: @@ -143,7 +143,6 @@ echo gmp_strval($div5) . "\n"; - - + gmp_div_qr Divide numbers and get quotient and remainder @@ -10,12 +10,12 @@ &reftitle.description; arraygmp_div_qr - GMPn - GMPd - introundGMP_ROUND_ZERO + GMPintstringnum1 + GMPintstringnum2 + introunding_modeGMP_ROUND_ZERO - The function divides n by d. + The function divides num1 by num2. @@ -24,7 +24,7 @@ - n + num1 The number being divided. @@ -33,20 +33,20 @@ - d + num2 - The number that n is being divided by. + The number that num1 is being divided by. &gmp.parameter; - round + rounding_mode See the gmp_div_q function for description - of the round argument. + of the rounding_mode argument. @@ -93,7 +93,6 @@ printf("Result is: q - %s, r - %s", - - + gmp_div_r Remainder of the division of numbers @@ -10,14 +10,14 @@ &reftitle.description; GMPgmp_div_r - GMPn - GMPd - introundGMP_ROUND_ZERO + GMPintstringnum1 + GMPintstringnum2 + introunding_modeGMP_ROUND_ZERO Calculates remainder of the integer division of - n by d. The - remainder has the sign of the n argument, + num1 by num2. The + remainder has the sign of the num1 argument, if not zero. @@ -27,7 +27,7 @@ - n + num1 The number being divided. @@ -36,20 +36,20 @@ - d + num2 - The number that n is being divided by. + The number that num1 is being divided by. &gmp.parameter; - round + rounding_mode See the gmp_div_q function for description - of the round argument. + of the rounding_mode argument. @@ -98,7 +98,6 @@ echo gmp_strval($div) . "\n"; - - + gmp_divexact Exact division of numbers @@ -10,14 +10,14 @@ &reftitle.description; GMPgmp_divexact - GMPn - GMPd + GMPintstringnum1 + GMPintstringnum2 - Divides n by d, + Divides num1 by num2, using fast "exact division" algorithm. This function produces correct results only when it is known in advance that - d divides n. + num2 divides num1. @@ -26,7 +26,7 @@ - n + num1 The number being divided. @@ -35,7 +35,7 @@ - d + num2 The number that a is being divided by. @@ -82,7 +82,6 @@ echo gmp_strval($div2) . "\n"; - - + gmp_export Export to a binary string @@ -9,10 +9,10 @@ &reftitle.description; - stringfalsegmp_export - GMPgmpnumber + stringgmp_export + GMPintstringnum intword_size1 - intoptionsGMP_MSW_FIRST | GMP_NATIVE_ENDIAN + intflagsGMP_MSW_FIRST | GMP_NATIVE_ENDIAN Export a GMP number to a binary string @@ -24,7 +24,7 @@ - gmpnumber + num The GMP number being exported @@ -40,7 +40,7 @@ - options + flags Default value is GMP_MSW_FIRST | GMP_NATIVE_ENDIAN. @@ -54,10 +54,32 @@ &reftitle.returnvalues; - Returns a string&return.falseforfailure;. + Returns a string. + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + This function no longer returns &false; on failure. + + + + + + + &reftitle.examples; @@ -91,7 +113,6 @@ AA - - + gmp_fact Factorial @@ -10,10 +10,10 @@ &reftitle.description; GMPgmp_fact - mixeda + GMPintstringnum - Calculates factorial (a!) of a. + Calculates factorial (a!) of num. @@ -22,7 +22,7 @@ - a + num The factorial number. @@ -69,7 +69,6 @@ echo gmp_strval($fact2) . "\n"; - - + gmp_gcd Calculate GCD @@ -10,12 +10,12 @@ &reftitle.description; GMPgmp_gcd - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 - Calculate greatest common divisor of a and - b. The result is always positive even if + Calculate greatest common divisor of num1 and + num2. The result is always positive even if either of, or both, input operands are negative. @@ -25,13 +25,13 @@ - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -44,7 +44,7 @@ &reftitle.returnvalues; A positive GMP number that divides into both - a and b. + num1 and num2. @@ -79,7 +79,6 @@ echo gmp_strval($gcd) . "\n"; - - + gmp_hamdist Hamming distance @@ -10,12 +10,12 @@ &reftitle.description; intgmp_hamdist - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 - Returns the hamming distance between a and - b. Both operands should be non-negative. + Returns the hamming distance between num1 and + num2. Both operands should be non-negative. @@ -24,7 +24,7 @@ - a + num1 &gmp.parameter; @@ -33,7 +33,7 @@ - b + num2 &gmp.parameter; @@ -48,7 +48,7 @@ &reftitle.returnvalues; - The hamming distance between a and b, as an int. + The hamming distance between num1 and num2, as an int. @@ -91,7 +91,6 @@ echo gmp_popcount(gmp_xor($ham1, $ham2)) . "\n"; - - + gmp_import Import from a binary string @@ -9,10 +9,10 @@ &reftitle.description; - GMPfalsegmp_import + GMPgmp_import stringdata intword_size1 - intoptionsGMP_MSW_FIRST | GMP_NATIVE_ENDIAN + intflagsGMP_MSW_FIRST | GMP_NATIVE_ENDIAN Import a GMP number from a binary string @@ -40,7 +40,7 @@ - options + flags Default value is GMP_MSW_FIRST | GMP_NATIVE_ENDIAN. @@ -54,10 +54,32 @@ &reftitle.returnvalues; - Returns a GMP number&return.falseforfailure;. + Returns a GMP number. + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + This function no longer returns &false; on failure. + + + + + + + &reftitle.examples; @@ -95,7 +117,6 @@ echo gmp_strval($number) . "\n"; - - + gmp_init Create GMP number @@ -10,7 +10,7 @@ &reftitle.description; GMPgmp_init - mixednumber + intstringnum intbase0 @@ -23,7 +23,7 @@ - number + num An integer or a string. The string representation can be decimal, @@ -98,7 +98,6 @@ $b = gmp_init("0xFFFFDEBACDFEDF7200"); - - + gmp_intval Convert GMP number to integer @@ -10,7 +10,7 @@ &reftitle.description; intgmp_intval - GMPgmpnumber + GMPintstringnum This function converts GMP number into native PHP ints. @@ -22,7 +22,7 @@ - gmpnumber + num &gmp.parameter; @@ -34,7 +34,7 @@ &reftitle.returnvalues; - The int value of gmpnumber. + The int value of num. @@ -81,7 +81,6 @@ echo gmp_strval("2147483648") . "\n"; - - + gmp_invert Inverse by modulo @@ -9,13 +9,13 @@ &reftitle.description; - GMPgmp_invert - GMPa - GMPb + GMPfalsegmp_invert + GMPintstringnum1 + GMPintstringnum2 - Computes the inverse of a modulo - b. + Computes the inverse of num1 modulo + num2. @@ -24,13 +24,13 @@ - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -71,7 +71,6 @@ echo gmp_strval($invert) . "\n"; - - gmp_kronecker @@ -11,12 +10,12 @@ &reftitle.description; intgmp_kronecker - mixeda - mixedb + GMPintstringnum1 + GMPintstringnum2 - This function computes the Kronecker symbol of a and - b. + This function computes the Kronecker symbol of num1 and + num2. @@ -24,13 +23,13 @@ &reftitle.parameters; - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -41,8 +40,8 @@ &reftitle.returnvalues; - Returns the Kronecker symbol of a and - b + Returns the Kronecker symbol of num1 and + num2 @@ -55,7 +54,6 @@ - - gmp_lcm @@ -11,12 +10,12 @@ &reftitle.description; GMPgmp_lcm - mixeda - mixedb + GMPintstringnum1 + GMPintstringnum2 This function computes the least common multiple (lcm) of - a and b. + num1 and num2. @@ -24,13 +23,13 @@ &reftitle.parameters; - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -53,7 +52,6 @@ - - + gmp_mod Modulo operation @@ -10,13 +10,13 @@ &reftitle.description; GMPgmp_mod - GMPn - GMPd + GMPintstringnum1 + GMPintstringnum2 - Calculates n modulo - d. The result is always non-negative, the - sign of d is ignored. + Calculates num1 modulo + num2. The result is always non-negative, the + sign of num2 is ignored. @@ -25,13 +25,13 @@ - n + num1 &gmp.parameter; - d + num2 The modulo that is being evaluated. @@ -74,7 +74,6 @@ echo gmp_strval($mod) . "\n"; - - + gmp_mul Multiply numbers @@ -10,11 +10,11 @@ &reftitle.description; GMPgmp_mul - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 - Multiplies a by b + Multiplies num1 by num2 and returns the result. @@ -24,19 +24,19 @@ - a + num1 - A number that will be multiplied by b. + A number that will be multiplied by num2. &gmp.parameter; - b + num2 - A number that will be multiplied by a. + A number that will be multiplied by num1. &gmp.parameter; @@ -76,7 +76,6 @@ echo gmp_strval($mul) . "\n"; - - + gmp_neg Negate number @@ -10,7 +10,7 @@ &reftitle.description; GMPgmp_neg - GMPa + GMPintstringnum Returns the negative value of a number. @@ -22,7 +22,7 @@ - a + num &gmp.parameter; @@ -34,7 +34,7 @@ &reftitle.returnvalues; - Returns -a, as a GMP number. + Returns -num, as a GMP number. @@ -65,7 +65,6 @@ echo gmp_strval($neg2) . "\n"; - - + gmp_nextprime Find next prime number @@ -10,7 +10,7 @@ &reftitle.description; GMPgmp_nextprime - inta + GMPintstringnum Find next prime number @@ -22,7 +22,7 @@ - a + num &gmp.parameter; @@ -34,7 +34,7 @@ &reftitle.returnvalues; - Return the next prime number greater than a, + Return the next prime number greater than num, as a GMP number. @@ -77,7 +77,6 @@ echo gmp_strval($prime2) . "\n"; - - + gmp_or Bitwise OR @@ -10,8 +10,8 @@ &reftitle.description; GMPgmp_or - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 Calculates bitwise inclusive OR of two GMP numbers. @@ -23,13 +23,13 @@ - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -72,7 +72,6 @@ fffffff2 - - gmp_perfect_power @@ -11,10 +10,10 @@ &reftitle.description; boolgmp_perfect_power - mixeda + GMPintstringnum - Checks whether a is a perfect power. + Checks whether num is a perfect power. @@ -22,7 +21,7 @@ &reftitle.parameters; - a + num &gmp.parameter; @@ -33,7 +32,7 @@ &reftitle.returnvalues; - Returns &true; if a is a perfect power, &false; otherwise. + Returns &true; if num is a perfect power, &false; otherwise. @@ -45,7 +44,6 @@ - - + gmp_perfect_square Perfect square check @@ -10,7 +10,7 @@ &reftitle.description; boolgmp_perfect_square - GMPa + GMPintstringnum Check if a number is a perfect square. @@ -22,7 +22,7 @@ - a + num The number being checked as a perfect square. @@ -37,7 +37,7 @@ &reftitle.returnvalues; - Returns &true; if a is a perfect square, + Returns &true; if num is a perfect square, &false; otherwise. @@ -85,7 +85,6 @@ bool(true) - - + gmp_popcount Population count @@ -10,7 +10,7 @@ &reftitle.description; intgmp_popcount - GMPa + GMPintstringnum Get the population count. @@ -22,7 +22,7 @@ - a + num &gmp.parameter; @@ -34,7 +34,7 @@ &reftitle.returnvalues; - The population count of a, as an int. + The population count of num, as an int. @@ -65,7 +65,6 @@ echo gmp_popcount($pop2) . "\n"; - - + gmp_pow Raise number into power @@ -10,11 +10,11 @@ &reftitle.description; GMPgmp_pow - GMPbase - intexp + GMPintstringnum + intexponent - Raise base into power exp. + Raise num into power exponent. @@ -23,7 +23,7 @@ - base + num The base number. @@ -32,10 +32,10 @@ - exp + exponent - The positive power to raise the base. + The positive power to raise the num. @@ -80,7 +80,6 @@ echo gmp_strval($pow3) . "\n"; - - + gmp_powm Raise number into power with modulo @@ -10,14 +10,14 @@ &reftitle.description; GMPgmp_powm - GMPbase - GMPexp - GMPmod + GMPintstringnum + GMPintstringexponent + GMPintstringmodulus - Calculate (base raised into power - exp) modulo mod. If - exp is negative, result is undefined. + Calculate (num raised into power + exponent) modulo modulus. If + exponent is negative, result is undefined. @@ -27,7 +27,7 @@ - base + num The base number. @@ -36,16 +36,16 @@ - exp + exponent - The positive power to raise the base. + The positive power to raise the num. &gmp.parameter; - mod + modulus The modulo. @@ -88,7 +88,6 @@ echo gmp_strval($pow1) . "\n"; - - + gmp_prob_prime Check if number is "probably prime" @@ -10,8 +10,8 @@ &reftitle.description; intgmp_prob_prime - GMPa - intreps10 + GMPintstringnum + intrepetitions10 The function uses Miller-Rabin's probabilistic test to check if a number is a prime. @@ -23,7 +23,7 @@ - a + num The number being checked as a prime. @@ -32,11 +32,11 @@ - reps + repetitions Reasonable values - of reps vary from 5 to 10 (default being + of repetitions vary from 5 to 10 (default being 10); a higher value lowers the probability for a non-prime to pass as a "probable" prime. @@ -50,10 +50,10 @@ &reftitle.returnvalues; - If this function returns 0, a is + If this function returns 0, num is definitely not prime. If it returns 1, then - a is "probably" prime. If it returns 2, - then a is surely prime. + num is "probably" prime. If it returns 2, + then num is surely prime. @@ -89,7 +89,6 @@ echo gmp_prob_prime("11") . "\n"; - - + gmp_random_seed Sets the RNG seed @@ -10,7 +10,7 @@ &reftitle.description; voidgmp_random_seed - mixedseed + GMPintstringseed @@ -96,7 +96,6 @@ bool(false) - - + gmp_root Take the integer part of nth root @@ -10,11 +10,11 @@ &reftitle.description; GMPgmp_root - GMPa + GMPintstringnum intnth - Takes the nth root of a and + Takes the nth root of num and returns the integer component of the result. @@ -24,7 +24,7 @@ - a + num &gmp.parameter; @@ -33,7 +33,7 @@ nth - The positive root to take of a. + The positive root to take of num. @@ -48,7 +48,6 @@ - - + gmp_rootrem Take the integer part and remainder of nth root @@ -10,11 +10,11 @@ &reftitle.description; arraygmp_rootrem - GMPa + GMPintstringnum intnth - Takes the nth root of a and + Takes the nth root of num and returns the integer component and remainder of the result. @@ -24,7 +24,7 @@ - a + num &gmp.parameter; @@ -33,7 +33,7 @@ nth - The positive root to take of a. + The positive root to take of num. @@ -50,7 +50,6 @@ - - + gmp_setbit Set bit @@ -10,12 +10,12 @@ &reftitle.description; voidgmp_setbit - GMPa + GMPnum intindex - boolbit_on&true; + boolvalue&true; - Sets bit index in a. + Sets bit index in num. @@ -24,7 +24,7 @@ - a + num The value to modify. @@ -41,7 +41,7 @@ - bit_on + value True to set the bit (set it to 1/on); false to clear the bit (set it to 0/off). @@ -133,7 +133,7 @@ echo gmp_strval($a), ' -> 0b', gmp_strval($a, 2), "\n"; Unlike most of the other GMP functions, gmp_setbit - must be called with a GMP resource that already exists (using + must be called with a GMP object that already exists (using gmp_init for example). One will not be automatically created. @@ -151,7 +151,6 @@ echo gmp_strval($a), ' -> 0b', gmp_strval($a, 2), "\n"; - - + gmp_sign Sign of number @@ -10,7 +10,7 @@ &reftitle.description; intgmp_sign - GMPa + GMPintstringnum Checks the sign of a number. @@ -22,7 +22,7 @@ - a + num Either a GMP number resource in PHP 5.5 and earlier, @@ -39,9 +39,9 @@ &reftitle.returnvalues; - Returns 1 if a is positive, - -1 if a is negative, - and 0 if a is zero. + Returns 1 if num is positive, + -1 if num is negative, + and 0 if num is zero. @@ -87,7 +87,6 @@ echo gmp_sign("0") . "\n"; - - + gmp_sqrt Calculate square root @@ -10,10 +10,10 @@ &reftitle.description; GMPgmp_sqrt - GMPa + GMPintstringnum - Calculates square root of a. + Calculates square root of num. @@ -22,7 +22,7 @@ - a + num &gmp.parameter; @@ -69,7 +69,6 @@ echo gmp_strval($sqrt3) . "\n"; - - + gmp_sqrtrem Square root with remainder @@ -10,7 +10,7 @@ &reftitle.description; arraygmp_sqrtrem - GMPa + GMPintstringnum Calculate the square root of a number, with remainder. @@ -22,7 +22,7 @@ - a + num The number being square rooted. @@ -38,8 +38,8 @@ &reftitle.returnvalues; Returns array where first element is the integer square root of - a and the second is the remainder - (i.e., the difference between a and the + num and the second is the remainder + (i.e., the difference between num and the first element squared). @@ -75,7 +75,6 @@ echo gmp_strval($sqrt3) . ", " . gmp_strval($sqrt3rem) . "\n"; - - + gmp_strval Convert GMP number to string @@ -10,7 +10,7 @@ &reftitle.description; stringgmp_strval - GMPgmpnumber + GMPintstringnum intbase10 @@ -24,7 +24,7 @@ - gmpnumber + num The GMP number that will be converted to a string. @@ -79,7 +79,6 @@ printf("Decimal: %s, 36-based: %s", gmp_strval($a), gmp_strval($a,36)); - - + gmp_sub Subtract numbers @@ -10,11 +10,11 @@ &reftitle.description; GMPgmp_sub - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 - Subtracts b from a + Subtracts num2 from num1 and returns the result. @@ -25,7 +25,7 @@ - a + num1 The number being subtracted from. @@ -34,10 +34,10 @@ - b + num2 - The number subtracted from a. + The number subtracted from num1. &gmp.parameter; @@ -77,7 +77,6 @@ echo gmp_strval($sub) . "\n"; - - + gmp_testbit Tests if a bit is set @@ -10,7 +10,7 @@ &reftitle.description; boolgmp_testbit - GMPa + GMPintstringnum intindex @@ -23,7 +23,7 @@ - a + num &gmp.parameter; @@ -93,7 +93,6 @@ bool(true) - - diff --git a/reference/gmp/functions/gmp-xor.xml b/reference/gmp/functions/gmp-xor.xml index 2ccc904732..9451795c94 100644 --- a/reference/gmp/functions/gmp-xor.xml +++ b/reference/gmp/functions/gmp-xor.xml @@ -1,6 +1,6 @@ - + gmp_xor Bitwise XOR @@ -10,8 +10,8 @@ &reftitle.description; GMPgmp_xor - GMPa - GMPb + GMPintstringnum1 + GMPintstringnum2 Calculates bitwise exclusive OR (XOR) of two GMP numbers. @@ -23,13 +23,13 @@ - a + num1 &gmp.parameter; - b + num2 &gmp.parameter; @@ -73,7 +73,6 @@ echo gmp_strval($xor3, 2) . "\n"; - - + gmp_random_range Random number @@ -10,8 +10,8 @@ &reftitle.description; GMPgmp_random_range - GMPmin - GMPmax + GMPintstringmin + GMPintstringmax Generate a random number. The number will be between @@ -81,7 +81,6 @@ echo gmp_strval($rand2) . "\n"; -