.. _must-be-greater-than-or-equal-to-1:
must be greater than or equal to 1
----------------------------------
.. meta::
:description:
must be greater than or equal to 1: The second argument of ``gmp_import()`` is the number of characters to read in the original string, to build a GMP digit.
:og:image: https://php-errors.readthedocs.io/en/latest/_static/logo.png
:og:type: article
:og:title: must be greater than or equal to 1
:og:description: The second argument of ``gmp_import()`` is the number of characters to read in the original string, to build a GMP digit
:og:url: https://php-errors.readthedocs.io/en/latest/messages/must-be-greater-than-or-equal-to-1.html
:og:locale: en
:twitter:card: summary_large_image
:twitter:site: @exakat
:twitter:title: must be greater than or equal to 1
:twitter:description: must be greater than or equal to 1: The second argument of ``gmp_import()`` is the number of characters to read in the original string, to build a GMP digit
:twitter:creator: @exakat
:twitter:image:src: https://php-errors.readthedocs.io/en/latest/_static/logo.png
.. raw:: html
Description
___________
The second argument of ``gmp_import()`` is the number of characters to read in the original string, to build a GMP digit. This size must be 1 or larger, and the string's length must be a multiple of that number.
Example
_______
.. code-block:: php
Literal Examples
****************
+ Argument #2 ($word_size) must be greater than or equal to 1
Solutions
_________
+ Use the default value of 1, by omitting it.
+ Use a postive number as second argument.
Changed Behavior
________________
This error may appear following an evolution in behavior, in previous versions. See ` `_.