Skip to content

Commit 730b072

Browse files
authored
Fix issue #4242 (#5912)
1 parent 18a1cc5 commit 730b072

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎reference/gmp/functions/gmp-init.xml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<simpara>
2828
An integer or a string. The string representation can be decimal,
2929
hexadecimal, octal, or binary.
30+
Any whitespace in the input string is ignored.
3031
</simpara>
3132
</listitem>
3233
</varlistentry>
@@ -105,6 +106,9 @@
105106
<?php
106107
$a = gmp_init(123456);
107108
$b = gmp_init("0xFFFFDEBACDFEDF7200");
109+
$c = gmp_init("0xFFFFD EBACDFEDF7200");
110+
$d = gmp_init("FFFFD EBACDFEDF7200", 16);
111+
$e = gmp_init("123456789 00000");
108112
?>
109113
]]>
110114
</programlisting>

0 commit comments

Comments
 (0)