gmp_export()
function gmp_export(object|string|int $num, int $word_size = 1, int $flags = 17): string
Exports a GMP number as a binary string.
Parameters:
$num(object|string|int)$word_size(int), default1, optional$flags(int), default17, optional
Returns: string
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gmp_export is implemented in the compiler, see the internals page.