mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
mysqli works with objects, not resources
We also remove the strange bracketed info on the summary page. Maybe it was meant to say "Not *when* called on an object, as it returns a $mysqli object", but that's not true, because "$mysqli->init()" just returns NULL. Of course, that doesn't make sense, and likely mysqli::init() was supposed to be called statically, but that is no longer supported anyway. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351331 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
14ba1dcb17
commit
cea4f10f29
3 changed files with 4 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
|||
<refnamediv>
|
||||
<refname>mysqli::init</refname>
|
||||
<refname>mysqli_init</refname>
|
||||
<refpurpose>Initializes MySQLi and returns a resource for use with mysqli_real_connect()</refpurpose>
|
||||
<refpurpose>Initializes MySQLi and returns an object for use with mysqli_real_connect()</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<para>&style.procedural;</para>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>mysqli_refresh</methodname>
|
||||
<methodparam><type>resource</type><parameter>link</parameter></methodparam>
|
||||
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>options</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
|
|
@ -210,9 +210,8 @@
|
|||
<entry><methodname>mysqli::init</methodname></entry>
|
||||
<entry><function>mysqli_init</function></entry>
|
||||
<entry>N/A</entry>
|
||||
<entry>Initializes MySQLi and returns a resource for use with
|
||||
mysqli_real_connect. [Not called on an object, as it returns a
|
||||
$mysqli object.]</entry>
|
||||
<entry>Initializes MySQLi and returns an object for use with
|
||||
mysqli_real_connect.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><methodname>mysqli::kill</methodname></entry>
|
||||
|
|
Loading…
Reference in a new issue