Skip to content

Improve gmp_export() documentation #3865

@Girgias

Description

@Girgias

The documentation is pretty clear about gmp_export(): "Export a GMP number to a binary string". ;)

It's actually an elaborate pack(); besides that it obviously works for large numbers, you cannot only choose endianess, but also the $word_size.

Originally posted by @cmb69 in php/php-src#16418 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions