reference/gmp/functions/gmp-strval.xml
43130349a3f4681a2039e7e27fb56082981cdc13
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-strval">
3
+
<refentry xml:id="function.gmp-strval" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>gmp_strval</refname>
6
6
<refpurpose>Convert GMP number to string</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>gmp_strval</methodname>
13
-
<methodparam><type>GMP</type><parameter>gmpnumber</parameter></methodparam>
13
+
<methodparam><type class="union"><type>GMP</type><type>int</type><type>string</type></type><parameter>num</parameter></methodparam>
14
14
<methodparam choice="opt"><type>int</type><parameter>base</parameter><initializer>10</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>gmpnumber</parameter></term>
27
+
<term><parameter>num</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The GMP number that will be converted to a string.
...
...
@@ -52,41 +52,6 @@
52
52
</para>
53
53
</refsect1>
54
54

55
-
<refsect1 role="changelog">
56
-
&reftitle.changelog;
57
-
<para>
58
-
<informaltable>
59
-
<tgroup cols="2">
60
-
<thead>
61
-
<row>
62
-
<entry>&Version;</entry>
63
-
<entry>&Description;</entry>
64
-
</row>
65
-
</thead>
66
-
<tbody>
67
-
<row>
68
-
<entry>5.3.2</entry>
69
-
<entry>
70
-
The <parameter>base</parameter> was extended from 2 to 36, to
71
-
2 to 62 and -2 to -36.
72
-
</entry>
73
-
</row>
74
-
</tbody>
75
-
</tgroup>
76
-
</informaltable>
77
-
</para>
78
-
</refsect1>
79
-

80
-
<refsect1 role="notes">
81
-
&reftitle.notes;
82
-
<note>
83
-
<para>
84
-
To use the extended base introduced in PHP 5.3.2, then
85
-
PHP must be compiled against GMP 4.2.0 or greater.
86
-
</para>
87
-
</note>
88
-
</refsect1>
89
-

90
55
<refsect1 role="examples">
91
56
&reftitle.examples;
92
57
<para>
...
...
@@ -104,7 +69,6 @@ printf("Decimal: %s, 36-based: %s", gmp_strval($a), gmp_strval($a,36));
104
69
</para>
105
70
</refsect1>
106
71
</refentry>
107
-

108
72
<!-- Keep this comment at the end of the file
109
73
Local variables:
110
74
mode: sgml
111
75