2003-12-18 11:47:08 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
<!-- $Revision: 1.8 $ -->
|
|
|
|
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<refentry id="function.get-loaded-extensions">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>get_loaded_extensions</refname>
|
|
|
|
<refpurpose>
|
2003-12-18 11:47:08 +00:00
|
|
|
Returns an array with the names of all modules compiled and
|
|
|
|
loaded
|
2002-04-15 00:12:54 +00:00
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
2003-12-18 11:47:08 +00:00
|
|
|
<title>Description</title>
|
2002-04-15 00:12:54 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>array</type><methodname>get_loaded_extensions</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2003-12-18 11:47:08 +00:00
|
|
|
This function returns the names of all the modules compiled and
|
|
|
|
loaded in the PHP interpreter.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2003-12-18 11:47:08 +00:00
|
|
|
For example the line below
|
2002-04-15 00:12:54 +00:00
|
|
|
<informalexample>
|
2003-08-16 17:35:22 +00:00
|
|
|
<programlisting role="php">
|
2002-04-15 00:12:54 +00:00
|
|
|
<![CDATA[
|
2003-01-16 00:30:26 +00:00
|
|
|
<?php
|
2003-06-16 19:33:51 +00:00
|
|
|
print_r(get_loaded_extensions());
|
2003-01-16 00:30:26 +00:00
|
|
|
?>
|
2002-04-15 00:12:54 +00:00
|
|
|
]]>
|
|
|
|
</programlisting>
|
2003-06-16 19:33:51 +00:00
|
|
|
<para>
|
2003-12-18 11:47:08 +00:00
|
|
|
will print a list like:
|
2003-06-16 19:33:51 +00:00
|
|
|
</para>
|
|
|
|
<screen>
|
2002-04-15 00:12:54 +00:00
|
|
|
<![CDATA[
|
|
|
|
Array
|
|
|
|
(
|
|
|
|
[0] => xml
|
|
|
|
[1] => wddx
|
|
|
|
[2] => standard
|
|
|
|
[3] => session
|
|
|
|
[4] => posix
|
|
|
|
[5] => pgsql
|
|
|
|
[6] => pcre
|
|
|
|
[7] => gd
|
|
|
|
[8] => ftp
|
|
|
|
[9] => db
|
|
|
|
[10] => calendar
|
|
|
|
[11] => bcmath
|
|
|
|
)
|
|
|
|
]]>
|
2003-06-16 19:33:51 +00:00
|
|
|
</screen>
|
2002-04-15 00:12:54 +00:00
|
|
|
</informalexample>
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-12-18 11:47:08 +00:00
|
|
|
See also
|
2003-02-22 04:24:24 +00:00
|
|
|
<function>get_extension_funcs</function>,
|
|
|
|
<function>extension_loaded</function>,
|
2003-12-18 11:47:08 +00:00
|
|
|
<function>dl</function>, and
|
2003-02-22 04:24:24 +00:00
|
|
|
<function>phpinfo</function>.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|