didou Wed Jul 2 09:11:12 2003 EDT
Modified files:
/phpdoc/en/reference/misc/functions defined.xml
Log:
add a note about function_exists
Index: phpdoc/en/reference/misc/functions/defined.xml
diff -u phpdoc/en/reference/misc/functions/defined.xml:1.5
phpdoc/en/reference/misc/functions/defined.xml:1.6
--- phpdoc/en/reference/misc/functions/defined.xml:1.5 Sat Jun 21 06:28:05 2003
+++ phpdoc/en/reference/misc/functions/defined.xml Wed Jul 2 09:11:11 2003
@@ -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 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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php