reference/info/functions/extension-loaded.xml
c44475e1fafcbee203ed4935a6d5d7a01379fcdc
...
...
@@ -1,4 +1,4 @@
1
-
<?xml version="1.0" encoding="iso-8859-1"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<refentry xml:id="function.extension-loaded" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>extension_loaded</methodname>
13
-
<methodparam><type>string</type><parameter>name</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>extension</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Finds out whether the extension is loaded.
...
...
@@ -22,10 +22,10 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>name</parameter></term>
25
+
<term><parameter>extension</parameter></term>
26
26
<listitem>
27
27
<para>
28
-
The extension name.
28
+
The extension name. This parameter is case-insensitive.
29
29
</para>
30
30
<para>
31
31
You can see the names of various extensions by using
...
...
@@ -62,7 +62,7 @@ ctype
62
62
<refsect1 role="returnvalues">
63
63
&reftitle.returnvalues;
64
64
<para>
65
-
Returns &true; if the extension identified by <parameter>name</parameter>
65
+
Returns &true; if the extension identified by <parameter>extension</parameter>
66
66
is loaded, &false; otherwise.
67
67
</para>
68
68
</refsect1>
...
...
@@ -87,19 +87,6 @@ if (!extension_loaded('gd')) {
87
87
</para>
88
88
</refsect1>
89
89

90
-
<refsect1 role="notes">
91
-
&reftitle.notes;
92
-
<note>
93
-
<para>
94
-
<function>extension_loaded</function> uses the internal extension name
95
-
to test whether a certain extension is available or not. Most internal
96
-
extension names are written in lower case but there may be extension
97
-
available which also use uppercase letters. Be warned that this
98
-
function compares <emphasis role="strong">case sensitive</emphasis> !
99
-
</para>
100
-
</note>
101
-
</refsect1>
102
-

103
90
<refsect1 role="seealso">
104
91
&reftitle.seealso;
105
92
<para>
...
...
@@ -108,12 +95,12 @@ if (!extension_loaded('gd')) {
108
95
<member><function>get_extension_funcs</function></member>
109
96
<member><function>phpinfo</function></member>
110
97
<member><function>dl</function></member>
98
+
<member><function>function_exists</function></member>
111
99
</simplelist>
112
100
</para>
113
101
</refsect1>
114
102

115
103
</refentry>
116
-

117
104
<!-- Keep this comment at the end of the file
118
105
Local variables:
119
106
mode: sgml
120
107