[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/info/functions/_dl.xml?=
From: Christopher_Jones <sixd () php ! net>
Date: 2010-01-27 0:59:33
Message-ID: svn-sixd-1264553973-294068-254207371 () svn ! php ! net
[Download RAW message or body]
sixd Wed, 27 Jan 2010 00:59:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294068
Log:
Some clarifications for version changes
Changed paths:
U phpdoc/en/trunk/reference/info/functions/dl.xml
Modified: phpdoc/en/trunk/reference/info/functions/dl.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/dl.xml 2010-01-27 00:36:43 UTC (rev 294067)
+++ phpdoc/en/trunk/reference/info/functions/dl.xml 2010-01-27 00:59:33 UTC (rev 294068)
@@ -22,7 +22,11 @@
extensions and dynamically loaded ones (either through &php.ini; or
<function>dl</function>).
</para>
- &warn.deprecated.function-5-3-0.removed-6-0-0;
+ <warning>
+ <simpara>
+ This function has been removed from some SAPI's in PHP 5.3.
+ </simpara>
+ </warning>
</refsect1>
<refsect1 role="parameters">
@@ -46,7 +50,7 @@
</para>
<para>
Windows - If not explicitly set in the &php.ini;, the extension is
- loaded from <filename>c:\php4\extensions\</filename> (PHP4) or
+ loaded from <filename>C:\php4\extensions\</filename> (PHP4) or
<filename>C:\php5\</filename> (PHP5) by default.
</para>
<para>
@@ -90,8 +94,8 @@
&reftitle.returnvalues;
<para>
&return.success; If the functionality of loading modules is not available
- (see Note) or has been disabled (either by turning it off
- <literal>enable_dl</literal> or by enabling &safemode;
+ or has been disabled (either by setting
+ <literal>enable_dl</literal> off or by enabling &safemode;
in &php.ini;) an <constant>E_ERROR</constant> is emitted
and execution is stopped. If <function>dl</function> fails because the
specified library couldn't be loaded, in addition to &false; an
@@ -143,18 +147,13 @@
<row>
<entry>5.3.0</entry>
<entry>
- <function>dl</function> is now disabled on SAPI's that doesn't explicity
- enable support for dynamic loading of extensions. The only SAPI's that
- enable <function>dl</function> is: CLI, CGI and Embed.
+ <function>dl</function> is now disabled in some SAPI's due to
+ stability issues. The only SAPI's that
+ allow <function>dl</function> are: CLI, CGI and Embed. Use
+ the <link linkend="ini.extension">Extension Loading
+ Directives</link> instead.
</entry>
</row>
- <row>
- <entry>5.3.0</entry>
- <entry>
- <function>dl</function> now throws an <constant>E_DEPRECATED</constant>
- warning on all SAPI's except for CLI, CGI and Embed.
- </entry>
- </row>
</tbody>
</tgroup>
</informaltable>
@@ -165,30 +164,14 @@
&reftitle.notes;
<note>
<para>
- <function>dl</function> is <emphasis>not</emphasis> supported in
- multithreaded Web servers. Use the <literal>extensions</literal>
- statement in your &php.ini; when operating under such
- an environment. However, the <literal>CGI</literal> and
- <literal>CLI</literal> build are <emphasis role="strong">not</emphasis>
- affected !
+ <function>dl</function> is <emphasis>not</emphasis> supported when
+ PHP is built with ZTS support. Use
+ the <link linkend="ini.extension">Extension Loading
+ Directives</link> instead.
</para>
</note>
<note>
<para>
- As of PHP 5, the <function>dl</function> function is deprecated in every
- SAPI <emphasis>except</emphasis> <acronym>CLI</acronym>.
- Use <link linkend="ini.extension">Extension Loading Directives</link>
- method instead.
- </para>
- </note>
- <note>
- <para>
- Since PHP 6 this function is disabled in all SAPIs, except CLI, CGI and
- embed.
- </para>
- </note>
- <note>
- <para>
<function>dl</function> is case sensitive on Unix platforms.
</para>
</note>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic