Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cannot use multiple word order options

Description

The third option of gmp_import() must be either GMP_MSW_FIRST or GMP_LSW_FIRST, but not at the same time.

Example

<?php
gmp_import('a', 1, GMP_MSW_FIRST | GMP_LSW_FIRST);
?>

Literal Examples

  • gmp_import(): Argument #3 ($flags) cannot use multiple endian options

Alternatives

  • Use the GMP_MSW_FIRST.
  • Use the GMP_LSW_FIRST.
  • Use the default option, by omitting this argument (default is GMP_MSW_FIRST).

Changed Behavior

This error may appear following an evolution in behavior, in previous versions. See