<HTML ><HEAD ><TITLE >get_loaded_extensions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="PHP Options&Information" HREF="ref.info.html"><LINK REL="PREVIOUS" TITLE="get_included_files" HREF="function.get-included-files.html"><LINK REL="NEXT" TITLE="get_magic_quotes_gpc" HREF="function.get-magic-quotes-gpc.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.get-included-files.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.get-magic-quotes-gpc.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.get-loaded-extensions" ></A >get_loaded_extensions</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN73695" ></A ><P > (PHP 4 )</P >get_loaded_extensions -- Returns an array with the names of all modules compiled and loaded </DIV ><DIV CLASS="refsect1" ><A NAME="AEN73698" ></A ><H2 >Description</H2 >array <B CLASS="methodname" >get_loaded_extensions</B > ( void)<BR ></BR ><P > This function returns the names of all the modules compiled and loaded in the PHP interpreter. </P ><P > For example the line below <DIV CLASS="informalexample" ><A NAME="AEN73706" ></A ><P ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="programlisting" ><?php print_r (get_loaded_extensions()); ?></PRE ></TD ></TR ></TABLE ><P ></P ></DIV > will print a list like: <DIV CLASS="informalexample" ><A NAME="AEN73708" ></A ><P ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="programlisting" >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 )</PRE ></TD ></TR ></TABLE ><P ></P ></DIV > </P ><P > See also <A HREF="function.get-extension-funcs.html" ><B CLASS="function" >get_extension_funcs()</B ></A >, <A HREF="function.extension-loaded.html" ><B CLASS="function" >extension_loaded()</B ></A >, <A HREF="function.dl.html" ><B CLASS="function" >dl()</B ></A > and <A HREF="function.phpinfo.html" ><B CLASS="function" >phpinfo()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.get-included-files.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.get-magic-quotes-gpc.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >get_included_files</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.info.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >get_magic_quotes_gpc</TD ></TR ></TABLE ></DIV ></BODY ></HTML >