cvs: phpdoc-de /reference/info/functions phpinfo.xml
| From: | Mark Wiesemann | Date: | Thu, 01 Jan 2009 19:47:27 +0000 |
| Subject: | cvs: phpdoc-de /reference/info/functions phpinfo.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2962@lists.php.net to get a copy of this message | ||
wiesemann Thu Jan 1 19:47:27 2009 UTC
Modified files:
/phpdoc-de/reference/info/functions phpinfo.xml
Log:
- take over
- sync to EN
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/info/functions/phpinfo.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-de/reference/info/functions/phpinfo.xml diff -u phpdoc-de/reference/info/functions/phpinfo.xml:1.5 phpdoc-de/reference/info/functions/phpinfo.xml:1.6 --- phpdoc-de/reference/info/functions/phpinfo.xml:1.5 Sat Jun 23 13:21:38 2007 +++ phpdoc-de/reference/info/functions/phpinfo.xml Thu Jan 1 19:47:27 2009 @@ -1,31 +1,234 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: ready --> - <refentry xml:id="function.phpinfo" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>phpinfo</refname> - <refpurpose>Zeigt viele Informationen zu PHP</refpurpose> - </refnamediv> - <refsect1> - <title>Beschreibung</title> - <methodsynopsis> - <type>int</type><methodname>phpinfo</methodname> - <void/> - </methodsynopsis> - <para> - Zeigt eine grosse Anzahl von Informationen über die aktuelle - Konfiguration von PHP an. Unter anderem die Optionen während der - Kompilierens und die Erweiterungen, die PHP Version, - Informationen über den Server, die Umgebung (wenn PHP als Modul - kompiliert wurde), die PHP Umgebung, Version und Informationen - zum Betriebssystem, Pfade, Haupt- and lokale Werte der - Konfigurationsoptionen, HTTP Header, und die GNU Public License. - </para> - <para> - Siehe auch <function>phpversion</function>. - </para> - </refsect1> - </refentry> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.18 Maintainer: wiesemann Status: ready --> +<refentry xml:id="function.phpinfo" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>phpinfo</refname> + <refpurpose>Zeigt viele Informationen zu PHP</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>phpinfo</methodname> + <methodparam choice="opt"><type>int</type><parameter>what</parameter></methodparam> + </methodsynopsis> + <para> + Zeigt eine groÃe Anzahl von Informationen über den aktuellen Zustand + von PHP an. Dies umfasst Informationen über die Optionen während + des Kompilierens und die Extensions, die PHP-Version, + Server-Informationen und -Umgebung (falls als Modul kompiliert), + die PHP-Umgebung, Versionsinformationen zum Betriebssystem, + Pfade, Master- und lokale Werte der Konfigurationsoptionen, + HTTP-Header und die PHP-Lizenz. + </para> + <para> + Weil jedes System anders installiert ist, wird + <function>phpinfo</function> oft genutzt, um die <link + linkend="configuration">Konfigurationseinstellungen</link> und die + verfügbaren <link + linkend="language.variables.predefined">vordefinierten Variablen</link> + auf einem System zu prüfen. + </para> + <para> + <function>phpinfo</function> ist auÃerdem ein wertvolles + Debugging-Tool, da es alle EGPCS-Daten (Environment, GET, POST, + Cookie, Server) enthält. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>what</parameter></term> + <listitem> + <para> + Die Ausgabe kann durch die bitweise summierte Angabe von einer + oder mehrerer der folgenden <emphasis>Konstanten</emphasis> im + optionalen <parameter>what</parameter>-Parameter angepasst werden. + Die Konstanten oder Bitwerte können auch mit dem <link + linkend="language.operators.bitwise">or</link>-Operator + kombiniert werden. + </para> + <para> + <table> + <title><function>phpinfo</function>-Optionen</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Name (Konstante)</entry> + <entry>Wert</entry> + <entry>Beschreibung</entry> + </row> + </thead> + <tbody> + <row> + <entry>INFO_GENERAL</entry> + <entry>1</entry> + <entry> + Die Konfigurationszeile, die Ort der &php.ini;, das + Ãbersetzungsdatum, der Webserver, das System und mehr. + </entry> + </row> + <row> + <entry>INFO_CREDITS</entry> + <entry>2</entry> + <entry> + PHP-Credits. Siehe auch <function>phpcredits</function>. + </entry> + </row> + <row> + <entry>INFO_CONFIGURATION</entry> + <entry>4</entry> + <entry> + Aktueller lokaler und Master-Wert der PHP-Direktiven. + Siehe auch <function>ini_get</function>. + </entry> + </row> + <row> + <entry>INFO_MODULES</entry> + <entry>8</entry> + <entry> + Die geladenene Module und ihre jeweiligen Einstellungen. + Siehe auch <function>get_loaded_extensions</function>. + </entry> + </row> + <row> + <entry>INFO_ENVIRONMENT</entry> + <entry>16</entry> + <entry> + Informationen über die Umgebungsvariablen, die auch in + <varname>$_ENV</varname> verfügbar ist. + </entry> + </row> + <row> + <entry>INFO_VARIABLES</entry> + <entry>32</entry> + <entry> + Zeigt alle <link + linkend="language.variables.predefined">vordefinierten + Variablen</link> aus EGPCS (Environment, GET, POST, Cookie, + Server). + </entry> + </row> + <row> + <entry>INFO_LICENSE</entry> + <entry>64</entry> + <entry> + PHP-Lizenz-Informationen. Siehe auch <link + xlink:href="&url.php.license;">Lizenz-FAQ</link>. + </entry> + </row> + <row> + <entry>INFO_ALL</entry> + <entry>-1</entry> + <entry> + Zeigt alle genannten Informationen. Dies ist der + Standardwert. + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.2.2</entry> + <entry> + Die Information über die "Loaded Configuration File" wurde + hinzugefügt, während vorher nur die Information + "Configuration File (php.ini) Path" existierte. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>phpinfo</function>-Beispiel</title> + <programlisting role="php"> +<![CDATA[ +<?php + +// Zeigt alle Informationen (Standardwert ist INFO_ALL) +phpinfo(); + +// Zeigt nur die Modul-Informationen. +// phpinfo(8) führt zum gleichen Ergebnis. +phpinfo(INFO_MODULES); + +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Teile der angezeigten Informationen sind deaktiviert, wenn die + <link linkend="ini.expose-php">expose_php</link>-Konfigurationseinstellung + auf <literal>off</literal> gesetzt ist. Dies umfasst die PHP- und + Zend-Logos sowie die Credits. + </para> + </note> + <note> + <para> + <function>phpinfo</function> gibt reinen Text statt HTML aus, wenn + es im CLI-Modus benutzt wird. + </para> + </note> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>phpversion</function></member> + <member><function>phpcredits</function></member> + <member><function>php_logo_guid</function></member> + <member><function>ini_get</function></member> + <member><function>ini_set</function></member> + <member><function>get_loaded_extensions</function></member> + <member><link linkend="language.variables.predefined">vordefinierte Variable</link></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/info/functions/phpinfo.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-de/reference/info/functions/phpinfo.xml diff -u phpdoc-de/reference/info/functions/phpinfo.xml:1.5 phpdoc-de/reference/info/functions/phpinfo.xml:1.6 --- phpdoc-de/reference/info/functions/phpinfo.xml:1.5 Sat Jun 23 13:21:38 2007 +++ phpdoc-de/reference/info/functions/phpinfo.xml Thu Jan 1 19:47:27 2009 @@ -1,31 +1,234 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: ready --> - <refentry xml:id="function.phpinfo" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>phpinfo</refname> - <refpurpose>Zeigt viele Informationen zu PHP</refpurpose> - </refnamediv> - <refsect1> - <title>Beschreibung</title> - <methodsynopsis> - <type>int</type><methodname>phpinfo</methodname> - <void/> - </methodsynopsis> - <para> - Zeigt eine grosse Anzahl von Informationen über die aktuelle - Konfiguration von PHP an. Unter anderem die Optionen während der - Kompilierens und die Erweiterungen, die PHP Version, - Informationen über den Server, die Umgebung (wenn PHP als Modul - kompiliert wurde), die PHP Umgebung, Version und Informationen - zum Betriebssystem, Pfade, Haupt- and lokale Werte der - Konfigurationsoptionen, HTTP Header, und die GNU Public License. - </para> - <para> - Siehe auch <function>phpversion</function>. - </para> - </refsect1> - </refentry> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.18 Maintainer: wiesemann Status: ready --> +<refentry xml:id="function.phpinfo" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>phpinfo</refname> + <refpurpose>Zeigt viele Informationen zu PHP</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>phpinfo</methodname> + <methodparam choice="opt"><type>int</type><parameter>what</parameter></methodparam> + </methodsynopsis> + <para> + Zeigt eine groÃe Anzahl von Informationen über den aktuellen Zustand + von PHP an. Dies umfasst Informationen über die Optionen während + des Kompilierens und die Extensions, die PHP-Version, + Server-Informationen und -Umgebung (falls als Modul kompiliert), + die PHP-Umgebung, Versionsinformationen zum Betriebssystem, + Pfade, Master- und lokale Werte der Konfigurationsoptionen, + HTTP-Header und die PHP-Lizenz. + </para> + <para> + Weil jedes System anders installiert ist, wird + <function>phpinfo</function> oft genutzt, um die <link + linkend="configuration">Konfigurationseinstellungen</link> und die + verfügbaren <link + linkend="language.variables.predefined">vordefinierten Variablen</link> + auf einem System zu prüfen. + </para> + <para> + <function>phpinfo</function> ist auÃerdem ein wertvolles + Debugging-Tool, da es alle EGPCS-Daten (Environment, GET, POST, + Cookie, Server) enthält. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>what</parameter></term> + <listitem> + <para> + Die Ausgabe kann durch die bitweise summierte Angabe von einer + oder mehrerer der folgenden <emphasis>Konstanten</emphasis> im + optionalen <parameter>what</parameter>-Parameter angepasst werden. + Die Konstanten oder Bitwerte können auch mit dem <link + linkend="language.operators.bitwise">or</link>-Operator + kombiniert werden. + </para> + <para> + <table> + <title><function>phpinfo</function>-Optionen</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Name (Konstante)</entry> + <entry>Wert</entry> + <entry>Beschreibung</entry> + </row> + </thead> + <tbody> + <row> + <entry>INFO_GENERAL</entry> + <entry>1</entry> + <entry> + Die Konfigurationszeile, die Ort der &php.ini;, das + Ãbersetzungsdatum, der Webserver, das System und mehr. + </entry> + </row> + <row> + <entry>INFO_CREDITS</entry> + <entry>2</entry> + <entry> + PHP-Credits. Siehe auch <function>phpcredits</function>. + </entry> + </row> + <row> + <entry>INFO_CONFIGURATION</entry> + <entry>4</entry> + <entry> + Aktueller lokaler und Master-Wert der PHP-Direktiven. + Siehe auch <function>ini_get</function>. + </entry> + </row> + <row> + <entry>INFO_MODULES</entry> + <entry>8</entry> + <entry> + Die geladenene Module und ihre jeweiligen Einstellungen. + Siehe auch <function>get_loaded_extensions</function>. + </entry> + </row> + <row> + <entry>INFO_ENVIRONMENT</entry> + <entry>16</entry> + <entry> + Informationen über die Umgebungsvariablen, die auch in + <varname>$_ENV</varname> verfügbar ist. + </entry> + </row> + <row> + <entry>INFO_VARIABLES</entry> + <entry>32</entry> + <entry> + Zeigt alle <link + linkend="language.variables.predefined">vordefinierten + Variablen</link> aus EGPCS (Environment, GET, POST, Cookie, + Server). + </entry> + </row> + <row> + <entry>INFO_LICENSE</entry> + <entry>64</entry> + <entry> + PHP-Lizenz-Informationen. Siehe auch <link + xlink:href="&url.php.license;">Lizenz-FAQ</link>. + </entry> + </row> + <row> + <entry>INFO_ALL</entry> + <entry>-1</entry> + <entry> + Zeigt alle genannten Informationen. Dies ist der + Standardwert. + </entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.2.2</entry> + <entry> + Die Information über die "Loaded Configuration File" wurde + hinzugefügt, während vorher nur die Information + "Configuration File (php.ini) Path" existierte. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>phpinfo</function>-Beispiel</title> + <programlisting role="php"> +<![CDATA[ +<?php + +// Zeigt alle Informationen (Standardwert ist INFO_ALL) +phpinfo(); + +// Zeigt nur die Modul-Informationen. +// phpinfo(8) führt zum gleichen Ergebnis. +phpinfo(INFO_MODULES); + +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Teile der angezeigten Informationen sind deaktiviert, wenn die + <link linkend="ini.expose-php">expose_php</link>-Konfigurationseinstellung + auf <literal>off</literal> gesetzt ist. Dies umfasst die PHP- und + Zend-Logos sowie die Credits. + </para> + </note> + <note> + <para> + <function>phpinfo</function> gibt reinen Text statt HTML aus, wenn + es im CLI-Modus benutzt wird. + </para> + </note> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>phpversion</function></member> + <member><function>phpcredits</function></member> + <member><function>php_logo_guid</function></member> + <member><function>ini_get</function></member> + <member><function>ini_set</function></member> + <member><function>get_loaded_extensions</function></member> + <member><link linkend="language.variables.predefined">vordefinierte Variable</link></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: