reference/mysql/functions/mysql-get-host-info.xml
ff4017b6334dae2d5353fe99df8089a828795324
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id="function.mysql-get-host-info" xmlns="http://docbook.org/ns/docbook" xmlns:phd="http://www.php.net/ns/phd">
3
+
<refentry xml:id="function.mysql-get-host-info" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>mysql_get_host_info</refname>
6
6
<refpurpose>Get MySQL host info</refpurpose>
...
...
@@ -11,7 +11,10 @@
11
11
&mysql.alternative.note;
12
12
<simplelist role="alternatives">
13
13
<member><function>mysqli_get_host_info</function></member>
14
-
<member><methodname phd:args="PDO::ATTR_CONNECTION_STATUS">PDO::getAttribute</methodname></member>
14
+
<member>
15
+
<methodname>PDO::getAttribute</methodname>
16
+
with <parameter>attribute</parameter> as <constant>PDO::ATTR_CONNECTION_STATUS</constant>
17
+
</member>
15
18
</simplelist>
16
19
</warning>
17
20
</refsynopsisdiv>
...
...
@@ -19,7 +22,7 @@
19
22
<refsect1 role="description">
20
23
&reftitle.description;
21
24
<methodsynopsis>
22
-
<type>string</type><methodname>mysql_get_host_info</methodname>
25
+
<type class="union"><type>string</type><type>false</type></type><methodname>mysql_get_host_info</methodname>
23
26
<methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter><initializer>NULL</initializer></methodparam>
24
27
</methodsynopsis>
25
28
<para>
26
29