svn: /phpdoc/en/trunk/reference/info/functions/ extension-loaded.xml
| From: | Richard Quadling | Date: | Thu, 22 Oct 2009 15:20:12 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/info/functions/ extension-loaded.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5187@lists.php.net to get a copy of this message | ||
rquadling Thu, 22 Oct 2009 15:20:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=289852
Log:
extension_loaded is case insensitive from PHP5+. Fix bug#49941
Bug: http://bugs.php.net/49941 (Open) The function
'extension_loaded' does not compare case-sensitive.
Changed paths:
U phpdoc/en/trunk/reference/info/functions/extension-loaded.xml
Modified: phpdoc/en/trunk/reference/info/functions/extension-loaded.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/extension-loaded.xml 2009-10-22 15:17:03 UTC (rev
289851)
+++ phpdoc/en/trunk/reference/info/functions/extension-loaded.xml 2009-10-22 15:20:12 UTC (rev
289852)
@@ -87,17 +87,32 @@
</para>
</refsect1>
- <refsect1 role="notes">
- &reftitle.notes;
- <note>
- <para>
- <function>extension_loaded</function> uses the internal extension name
- to test whether a certain extension is available or not. Most internal
- extension names are written in lower case but there may be extension
- available which also use uppercase letters. Be warned that this
- function compares <emphasis role="strong">case sensitive</emphasis> !
- </para>
- </note>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.0.0</entry>
+ <entry>
+ <function>extension_loaded</function> uses the internal extension name
+ to test whether a certain extension is available or not. Most internal
+ extension names were written in lower case but there may be extensions
+ available which also use uppercase letters. Prior to PHP 5, this function
+ compared the names case sensitively.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
</refsect1>
<refsect1 role="seealso">