reference/funchand/functions/function-exists.xml
c44475e1fafcbee203ed4935a6d5d7a01379fcdc
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>function_exists</methodname>
13
-
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>function</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Checks the list of defined functions, both built-in (internal) and
17
-
user-defined, for <parameter>function_name</parameter>.
17
+
user-defined, for <parameter>function</parameter>.
18
18
</para>
19
19
</refsect1>
20
20

...
...
@@ -23,7 +23,7 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>function_name</parameter></term>
26
+
<term><parameter>function</parameter></term>
27
27
<listitem>
28
28
<para>
29
29
The function name, as a string.
...
...
@@ -37,7 +37,7 @@
37
37
<refsect1 role="returnvalues">
38
38
&reftitle.returnvalues;
39
39
<para>
40
-
Returns &true; if <parameter>function_name</parameter> exists and is a
40
+
Returns &true; if <parameter>function</parameter> exists and is a
41
41
function, &false; otherwise.
42
42
</para>
43
43
<note>
...
...
@@ -73,8 +73,7 @@ if (function_exists('imap_open')) {
73
73
<note>
74
74
<para>
75
75
A function name may exist even if the function itself is unusable due to
76
-
configuration or compiling options (with the <link
77
-
linkend="ref.image">image</link> functions being an example).
76
+
configuration or compiling options (with the <link linkend="ref.image">image</link> functions being an example).
78
77
</para>
79
78
</note>
80
79
</refsect1>
...
...
@@ -86,12 +85,13 @@ if (function_exists('imap_open')) {
86
85
<member><function>method_exists</function></member>
87
86
<member><function>is_callable</function></member>
88
87
<member><function>get_defined_functions</function></member>
88
+
<member><function>class_exists</function></member>
89
+
<member><function>extension_loaded</function></member>
89
90
</simplelist>
90
91
</para>
91
92
</refsect1>
92
93

93
94
</refentry>
94
-

95
95
<!-- Keep this comment at the end of the file
96
96
Local variables:
97
97
mode: sgml
98
98