add a note about function_exists

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133983 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-07-02 13:11:11 +00:00
parent 268cfda864
commit 912427f2c9

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/misc.xml, last change in rev 1.2 -->
<refentry id="function.defined">
<refnamediv>
@ -40,6 +40,8 @@ if (defined('CONSTANT')) {
If you're wanting to see if a variable exists, use
<function>isset</function> as <function>defined</function> only
applies to <link linkend="language.constants">constants</link>.
If you're wanting to see if a function exists, use
<function>function_exists</function>.
</para>
</note>
<para>