Document mysqli.reconnect (bug #47190)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291057 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2009-11-20 10:42:26 +00:00
parent d8244e316f
commit cc1a86df68
2 changed files with 58 additions and 2 deletions

View file

@ -64,6 +64,24 @@
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.0.0.</entry>
</row>
<row>
<entry><link linkend="ini.mysqli.reconnect">mysqli.reconnect</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 4.3.5.</entry>
</row>
<row>
<entry><link linkend="ini.mysqli.allow-local-infile">mysqli.allow_local_infile</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.2.4.</entry>
</row>
<row>
<entry><link linkend="ini.mysqli.cache-size">mysqli.cache_size</link></entry>
<entry>"2000"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.3.0.</entry>
</row>
</tbody>
</tgroup>
</table>
@ -116,7 +134,7 @@
<varlistentry xml:id="ini.mysqli.default-port">
<term>
<parameter>mysqli.default_port</parameter>
<type>string</type>
<type>integer</type>
</term>
<listitem>
<para>
@ -185,6 +203,43 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.mysqli.reconnect">
<term>
<parameter>mysqli.reconnect</parameter>
<type>integer</type>
</term>
<listitem>
<para>
Automatically reconnect if the connection was lost.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.mysqli.allow-local-infile">
<term>
<parameter>mysqli.allow_local_infile</parameter>
<type>integer</type>
</term>
<listitem>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.mysqli.cache-size">
<term>
<parameter>mysqli.cache_size</parameter>
<type>integer</type>
</term>
<listitem>
<para>
&mysqli.available.mysqlnd;
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>

View file

@ -21,7 +21,8 @@
</methodsynopsis>
<para>
Checks whether the connection to the server is working. If it has gone
down, and global option <literal>mysqli.reconnect</literal> is enabled
down, and global option <link
linkend="ini.mysqli.reconnect">mysqli.reconnect</link> is enabled
an automatic reconnection is attempted.
</para>
<para>