mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Closing bug 6741 (gettype no longer works on functions)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@35196 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
04efa58936
commit
334658afb1
1 changed files with 6 additions and 1 deletions
|
@ -124,13 +124,18 @@ if (!isset($var)) { // evaluates false
|
|||
<simpara>"resource"</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"user function"</simpara>
|
||||
<simpara>"user function" (PHP 3 only, deprecated)</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>"unknown type"</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
For PHP 4, you should use <function>function_exists</function> and
|
||||
<function>method_exists</function> to replace the prior usage of
|
||||
<function>gettype</function> on a function.
|
||||
</para>
|
||||
<para>
|
||||
See also <function>settype</function>.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue