![]() |
VOOZH | about |
The gmp_export() function is an inbuilt function in PHP which exports a GMP number(GNU Multiple Precision: For Large Numbers) to a binary string.
Syntax:
string gmp_export ( GMP $gmpnumber, int $word_size, int $options )
Parameters: The gmp_export() function accepts three parameters as shown above and described below:
Return Value: The function returns a string on success and FALSE on failure.
Below program illustrate the gmp_export() function in PHP:
Output:
AA
Related Articles:
Reference: https://www.php.net/manual/en/function.gmp-export.php