reference/network/functions/inet-pton.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>inet_pton</methodname>
13
-
<methodparam><type>string</type><parameter>address</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>inet_pton</methodname>
13
+
<methodparam><type>string</type><parameter>ip</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
This function converts a human readable IPv4 or IPv6 address (if PHP
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>address</parameter></term>
27
+
<term><parameter>ip</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
A human readable IPv4 or IPv6 address.
...
...
@@ -39,8 +39,8 @@
39
39
&reftitle.returnvalues;
40
40
<para>
41
41
Returns the <literal>in_addr</literal> representation of the given
42
-
<parameter>address</parameter>, or &false; if a syntactically invalid
43
-
<parameter>address</parameter> is given (for example, an IPv4 address
42
+
<parameter>ip</parameter>, or &false; if a syntactically invalid
43
+
<parameter>ip</parameter> is given (for example, an IPv4 address
44
44
without dots or an IPv6 address without colons).
45
45
</para>
46
46
</refsect1>
...
...
@@ -63,30 +63,6 @@ $in6_addr = inet_pton('::1');
63
63
</para>
64
64
</refsect1>
65
65

66
-
<refsect1 role="changelog">
67
-
&reftitle.changelog;
68
-
<para>
69
-
<informaltable>
70
-
<tgroup cols="2">
71
-
<thead>
72
-
<row>
73
-
<entry>&Version;</entry>
74
-
<entry>&Description;</entry>
75
-
</row>
76
-
</thead>
77
-
<tbody>
78
-
<row>
79
-
<entry>5.3.0</entry>
80
-
<entry>
81
-
This function is now available on Windows platforms.
82
-
</entry>
83
-
</row>
84
-
</tbody>
85
-
</tgroup>
86
-
</informaltable>
87
-
</para>
88
-
</refsect1>
89
-

90
66
<refsect1 role="seealso">
91
67
&reftitle.seealso;
92
68
<para>
...
...
@@ -99,7 +75,6 @@ $in6_addr = inet_pton('::1');
99
75
</refsect1>
100
76

101
77
</refentry>
102
-

103
78
<!-- Keep this comment at the end of the file
104
79
Local variables:
105
80
mode: sgml
106
81