mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
is_resource() is not a strict type checking function (patch by Michael Slusarz)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336644 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
590013355f
commit
e5f41806a6
1 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,15 @@ if (!is_resource($db_link)) {
|
|||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<function>is_resource</function> is not a strict type-checking method: it will return &false; if <parameter>var</parameter> is a resource variable that has been closed.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
|
|
Loading…
Reference in a new issue