.. _cannot-use-multiple-word-order-options:
cannot use multiple word order options
--------------------------------------
.. meta::
:description:
cannot use multiple word order options: The third option of ``gmp_import()`` must be either ``GMP_MSW_FIRST`` or ``GMP_LSW_FIRST``, but not at the same time.
:og:image: https://php-errors.readthedocs.io/en/latest/_static/logo.png
:og:type: article
:og:title: cannot use multiple word order options
:og:description: The third option of ``gmp_import()`` must be either ``GMP_MSW_FIRST`` or ``GMP_LSW_FIRST``, but not at the same time
:og:url: https://php-errors.readthedocs.io/en/latest/messages/cannot-use-multiple-word-order-options.html
:og:locale: en
:twitter:card: summary_large_image
:twitter:site: @exakat
:twitter:title: cannot use multiple word order options
:twitter:description: cannot use multiple word order options: The third option of ``gmp_import()`` must be either ``GMP_MSW_FIRST`` or ``GMP_LSW_FIRST``, but not at the same time
:twitter:creator: @exakat
:twitter:image:src: https://php-errors.readthedocs.io/en/latest/_static/logo.png
.. raw:: html
Description
___________
The third option of ``gmp_import()`` must be either ``GMP_MSW_FIRST`` or ``GMP_LSW_FIRST``, but not at the same time.
Example
_______
.. code-block:: php
Literal Examples
****************
+ gmp_import(): Argument #3 ($flags) cannot use multiple endian options
Solutions
_________
+ 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 ` `_.