svn: /phpdoc/en/trunk/reference/info/functions/ dl.xml

From: Date: Wed, 27 Jan 2010 00:59:33 +0000
Subject: svn: /phpdoc/en/trunk/reference/info/functions/ dl.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5936@lists.php.net to get a copy of this message
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>

« previous php.doc.cvs (#5936) next »