Date: 11/25/00
- Next message: Sebastian Bergmann: "[PHP-DOC] cvs: phpdoc /de/functions mysql.xml"
- Previous message: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] MS Help version of documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jon Fri Nov 24 21:24:07 2000 EDT
Modified files:
/phpdoc/en/functions funchand.xml
Log:
Added a simple usage example and a pointer to the method_exists() function.
Index: phpdoc/en/functions/funchand.xml
diff -u phpdoc/en/functions/funchand.xml:1.2 phpdoc/en/functions/funchand.xml:1.3
--- phpdoc/en/functions/funchand.xml:1.2 Fri Sep 15 09:09:43 2000
+++ phpdoc/en/functions/funchand.xml Fri Nov 24 21:24:06 2000
@@ -373,11 +373,23 @@
<paramdef>string <parameter>function_name</parameter></paramdef>
</funcprototype>
</funcsynopsis>
- <simpara>
+ <para>
Checks the list of defined functions for
<parameter>function_name</parameter>. Returns true if the given
function name was found, false otherwise.
- </simpara>
+ <informalexample>
+ <programlisting role="php">
+if (function_exists('imap_open')) {
+ echo "IMAP functions are available.<br>\n";
+} else {
+ echo "IMAP functions are not available.<br>\n";
+}
+ </programlisting>
+ </informalexample>
+ </para>
+ <para>
+ See also <function>method_exists</function>.
+ </para>
</refsect1>
</refentry>
- Next message: Sebastian Bergmann: "[PHP-DOC] cvs: phpdoc /de/functions mysql.xml"
- Previous message: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DOC] MS Help version of documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

