Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 1449

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>ini_get_all</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="PHP Options&Information"
HREF="ref.info.html"><LINK
REL="PREVIOUS"
TITLE="ini_alter"
HREF="function.ini-alter.html"><LINK
REL="NEXT"
TITLE="ini_get"
HREF="function.ini-get.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></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"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.ini-alter.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.ini-get.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.ini-get-all"
></A
>ini_get_all</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN91123"
></A
><P
>    (PHP 4 &#62;= 4.2.0, PHP 5)</P
>ini_get_all&nbsp;--&nbsp;Gets all configuration options</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN91126"
></A
><H2
>Description</H2
>array <B
CLASS="methodname"
>ini_get_all</B
> ( [string extension])<BR
></BR
><P
>&#13;     Returns all the registered configuration options as an
     associative array.  If the optional <VAR
CLASS="parameter"
>extension</VAR
>
     parameter is set, returns only options specific for that
     extension.
    </P
><P
>&#13;     The returned array uses the directive name as the array key, with
     elements of that array being <VAR
CLASS="literal"
>global_value</VAR
> (set in
     <TT
CLASS="filename"
>php.ini</TT
>), <VAR
CLASS="literal"
>local_value</VAR
> (perhaps set with
     <A
HREF="function.ini-set.html"
><B
CLASS="function"
>ini_set()</B
></A
> or <TT
CLASS="filename"
>.htaccess</TT
>), and
     <VAR
CLASS="literal"
>access</VAR
> (the access level).  See the manual section
     on <A
HREF="configuration.changes.html"
>configuration changes</A
>
     for information on what access levels mean.
    </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Not&#227;: </B
>
      It's possible for a directive to have multiple access levels, which is
      why <VAR
CLASS="literal"
>access</VAR
> shows the appropriate bitmask values.
     </P
></BLOCKQUOTE
></DIV
><P
>&#13;     <TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
CLASS="EXAMPLE"
><TR
><TD
><DIV
CLASS="example"
><A
NAME="AEN91148"
></A
><P
><B
>Exemplu 1. A <B
CLASS="function"
>ini_get_all()</B
> example</B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><code><font color="#000000">
<font color="#0000BB">&lt;?php<br />$inis </font><font color="#007700">= </font><font color="#0000BB">ini_get_all</font><font color="#007700">();<br /><br /></font><font color="#0000BB">print_r</font><font color="#007700">(</font><font color="#0000BB">$inis</font><font color="#007700">);<br /><br /></font><font color="#0000BB">?&gt;</font>
</font>
</code></TD
></TR
></TABLE
><P
>&#13;       Partial output may look like:
      </P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>Array
(
    [allow_call_time_pass_reference] =&#62; Array
    (
        [global_value] =&#62; 1
        [local_value] =&#62; 1
        [access] =&#62; 6
    )
    [allow_url_fopen] =&#62; Array
    (
        [global_value] =&#62; 1
        [local_value] =&#62; 1
        [access] =&#62; 7
    )

    ...

)</PRE
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
>
    </P
><P
>&#13;     See also: <A
HREF="function.ini-get.html"
><B
CLASS="function"
>ini_get()</B
></A
>,
     <A
HREF="function.ini-restore.html"
><B
CLASS="function"
>ini_restore()</B
></A
>, 
     <A
HREF="function.ini-set.html"
><B
CLASS="function"
>ini_set()</B
></A
>,
     <A
HREF="function.get-loaded-extensions.html"
><B
CLASS="function"
>get_loaded_extensions()</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.ini-alter.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.ini-get.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>ini_alter</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.info.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>ini_get</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>