reference/info/functions/dl.xml
a89c6d71c7b65e3de84f26230fbf72c9b8948adf
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>dl</methodname>
13
-
<methodparam><type>string</type><parameter>library</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>extension_filename</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Loads the PHP extension given by the parameter
17
-
<parameter>library</parameter>.
17
+
<parameter>extension_filename</parameter>.
18
18
</para>
19
19
<para>
20
20
Use <function>extension_loaded</function> to test whether a given
...
...
@@ -24,8 +24,8 @@
24
24
</para>
25
25
<warning>
26
26
<simpara>
27
-
This function was removed from most SAPIs in PHP 5.3.0, and was removed
28
-
from PHP-FPM in PHP 7.0.0.
27
+
This function is only available for the <acronym>CLI</acronym> and embed <acronym>SAPI</acronym>s,
28
+
and the <acronym>CGI</acronym> <acronym>SAPI</acronym> when run from the command line.
29
29
</simpara>
30
30
</warning>
31
31
</refsect1>
...
...
@@ -35,7 +35,7 @@
35
35
<para>
36
36
<variablelist>
37
37
<varlistentry>
38
-
<term><parameter>library</parameter></term>
38
+
<term><parameter>extension_filename</parameter></term>
39
39
<listitem>
40
40
<para>
41
41
This parameter is <emphasis>only</emphasis> the filename of the
...
...
@@ -65,7 +65,7 @@
65
65
</listitem>
66
66
<listitem>
67
67
<simpara>
68
-
whether PHP has been built with (experimental) ZTS (Zend Thread Safety)
68
+
whether PHP has been built with ZTS (Zend Thread Safety)
69
69
support or not
70
70
</simpara>
71
71
</listitem>
...
...
@@ -136,14 +136,6 @@ if (!extension_loaded('sqlite')) {
136
136
&reftitle.notes;
137
137
<note>
138
138
<para>
139
-
<function>dl</function> is <emphasis>not</emphasis> supported when
140
-
PHP is built with ZTS support. Use
141
-
the <link linkend="ini.extension">Extension Loading
142
-
Directives</link> instead.
143
-
</para>
144
-
</note>
145
-
<note>
146
-
<para>
147
139
<function>dl</function> is case sensitive on Unix platforms.
148
140
</para>
149
141
</note>
...
...
@@ -160,7 +152,6 @@ if (!extension_loaded('sqlite')) {
160
152
</refsect1>
161
153

162
154
</refentry>
163
-

164
155
<!-- Keep this comment at the end of the file
165
156
Local variables:
166
157
mode: sgml
167
158