cvs: phpdoc-de /language/predefined/variables get.xml /reference/apache/functions apache-request-headers.xml /reference/exec/functions
proc-terminate.xml /reference/json/functions json-encode.xml /reference/math constants.xml /reference/math/functions mt-srand.xml
/reference/misc/functions define.xml ignore-user-abort.xml /reference/var/functions serialize.xml unserialize.xml unset.xml /reference/zip/functions
ziparchive-getarchivecomment.xml ziparchive-getcommentindex.xml ziparchive-getcommentname.xml ziparchive-renameindex.xml ziparchive-statindex.xml
ziparchive-statname.xml
| From: | Carola 'Sammy' Kummert | Date: | Wed, 25 Mar 2009 11:24:34 +0000 |
| Subject: | cvs: phpdoc-de /language/predefined/variables get.xml /reference/apache/functions apache-request-headers.xml /reference/exec/functions proc-terminate.xml /reference/json/functions json-encode.xml /reference/math constants.xml /reference/math/functions mt-srand.xml /reference/misc/functions define.xml ignore-user-abort.xml /reference/var/functions serialize.xml unserialize.xml unset.xml /reference/zip/functions ziparchive-getarchivecomment.xml ziparchive-getcommentindex.xml ziparchive-getcommentname.xml ziparchive-renameindex.xml ziparchive-statindex.xml ziparchive-statname.xml |
||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-3354@lists.php.net to get a copy of this message | ||
sammywg Wed Mar 25 11:24:34 2009 UTC
Modified files:
/phpdoc-de/language/predefined/variables get.xml
/phpdoc-de/reference/apache/functions apache-request-headers.xml
/phpdoc-de/reference/exec/functions proc-terminate.xml
/phpdoc-de/reference/json/functions json-encode.xml
/phpdoc-de/reference/math constants.xml
/phpdoc-de/reference/math/functions mt-srand.xml
/phpdoc-de/reference/misc/functions ignore-user-abort.xml
define.xml
/phpdoc-de/reference/var/functions unserialize.xml serialize.xml
unset.xml
/phpdoc-de/reference/zip/functions ziparchive-statname.xml
ziparchive-getcommentindex.xml
ziparchive-renameindex.xml
ziparchive-getcommentname.xml
ziparchive-statindex.xml
ziparchive-getarchivecomment.xml
Log:
sync to en
http://cvs.php.net/viewvc.cgi/phpdoc-de/language/predefined/variables/get.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/language/predefined/variables/get.xml diff -u phpdoc-de/language/predefined/variables/get.xml:1.2 phpdoc-de/language/predefined/variables/get.xml:1.3 --- phpdoc-de/language/predefined/variables/get.xml:1.2 Tue Aug 26 16:02:59 2008 +++ phpdoc-de/language/predefined/variables/get.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> <phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="reserved.variables.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" role="noversion"> <refnamediv> @@ -13,9 +13,8 @@ &reftitle.description; <para> Ein assoziatives <type>Array</type> von Variablen, die dem aktuellen Skript - mittels der HTTP GET-Methode übergeben werden. + mittels der URL-Parameter übergeben werden. </para> - <simpara> <varname>$HTTP_GET_VARS</varname> enthält anfangs die selben Informationen, ist aber kein <link @@ -24,10 +23,8 @@ unterschiedliche Variablen sind und von PHP daher entsprechend behandelt werden.) </simpara> - </refsect1> - <refsect1 role="changelog"> &reftitle.changelog; <para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/apache/functions/apache-request-headers.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/apache/functions/apache-request-headers.xml diff -u phpdoc-de/reference/apache/functions/apache-request-headers.xml:1.8 phpdoc-de/reference/apache/functions/apache-request-headers.xml:1.9 --- phpdoc-de/reference/apache/functions/apache-request-headers.xml:1.8 Thu Dec 25 19:00:38 2008 +++ phpdoc-de/reference/apache/functions/apache-request-headers.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.12 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> <refentry xml:id="function.apache-request-headers" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -28,6 +28,39 @@ </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>4.3.3</entry> + <entry> + ¬e.apache.nsapi-module; + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + Vor PHP 4.3.0 hieà <function>apache_request_headers</function> + <function>getallheaders</function>. Seit PHP 4.3.0 ist + <function>gettallheaders</function> ein Alias für + <function>apache_request_headers</function>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -63,14 +96,6 @@ &reftitle.notes; <note> <para> - Vor PHP 4.3.0 hieà die Funktion <function>apache_request_headers</function> - <function>getallheaders</function>. Mit PHP 4.3.0 ist - <function>getallheaders</function> ein Alias für - <function>apache_request_headers</function>. - </para> - </note> - <note> - <para> Die Werte der gebräuchlichsten CGI-Variablen können Sie auch durch das Auslesen der Umgebungsvariablen erhalten. Dieser Weg funktioniert unabhängig davon, ob Sie PHP als Modul für @@ -80,7 +105,6 @@ zu erhalten. </para> </note> - ¬e.apache.nsapi-module; </refsect1> <refsect1 role="seealso"> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/exec/functions/proc-terminate.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/reference/exec/functions/proc-terminate.xml diff -u phpdoc-de/reference/exec/functions/proc-terminate.xml:1.2 phpdoc-de/reference/exec/functions/proc-terminate.xml:1.3 --- phpdoc-de/reference/exec/functions/proc-terminate.xml:1.2 Tue Feb 17 15:39:49 2009 +++ phpdoc-de/reference/exec/functions/proc-terminate.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.11 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.12 Maintainer: sammywg Status: ready --> <refentry xml:id='function.proc-terminate' xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -25,9 +25,7 @@ <function>proc_terminate</function> erlaubt es Ihnen, einen Prozess zu beenden und mit anderen Tasks fortzufahren. Sie können den Prozess unter Verwendung der Funktion <function>proc_get_status</function> pollen - (wenn Sie sehen wollen, ob er bereits beendet wurde). Dies ist allerdings - nur mit PHP 5.2.2 oder neuer möglich, ältere Versionen zerstören das - übergebene Prozesshandle <parameter>resource</parameter>. + (wenn Sie sehen wollen, ob er bereits beendet wurde). </para> </refsect1> @@ -67,6 +65,31 @@ </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> + Ãltere Versionen wurden verwendet, um das übergebene Prozesshandle + <parameter>resource</parameter> zu zerstören. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/json/functions/json-encode.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/json/functions/json-encode.xml diff -u phpdoc-de/reference/json/functions/json-encode.xml:1.3 phpdoc-de/reference/json/functions/json-encode.xml:1.4 --- phpdoc-de/reference/json/functions/json-encode.xml:1.3 Sat Mar 7 23:32:59 2009 +++ phpdoc-de/reference/json/functions/json-encode.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.8 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: sammywg Status: ready --> <refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -41,10 +41,11 @@ <term><parameter>options</parameter></term> <listitem> <para> - Bitmaske bestehend aus <constant>PHP_JSON_HEX_QUOT</constant>, - <constant>PHP_JSON_HEX_TAG</constant>, - <constant>PHP_JSON_HEX_AMP</constant> und - <constant>PHP_JSON_HEX_APOS</constant>. StandardmäÃig auf 0 gesetzt. + Bitmaske bestehend aus <constant>JSON_HEX_QUOT</constant>, + <constant>JSON_HEX_TAG</constant>, + <constant>JSON_HEX_AMP</constant>, + <constant>JSON_HEX_APOS</constant> und + <constant>JSON_FORCE_OBJECT</constant>. StandardmäÃig auf 0 gesetzt. </para> </listitem> </varlistentry> @@ -72,6 +73,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + Der Parameter <parameter>options</parameter> wurde hinzugefügt. + </entry> + </row> + <row> <entry>5.2.1</entry> <entry> Unterstützung für JSON-kodierte Grundtypen hinzugefügt. @@ -104,6 +111,52 @@ ]]> </screen> </example> + + <example> + <title>Ein <function>json_encode</function>-Beispiel, das den Einsatz + aller Optionen zeigt</title> + <programlisting role="php"> +<![CDATA[ +<?php +$a = array('<foo>',"'bar'",'"baz"','&blong&'); + +echo "Normal: ", json_encode($a), "\n"; +echo "Tags: ", json_encode($a,JSON_HEX_TAG), "\n"; +echo "Apos: ", json_encode($a,JSON_HEX_APOS), "\n"; +echo "Quot: ", json_encode($a,JSON_HEX_QUOT), "\n"; +echo "Amp: ", json_encode($a,JSON_HEX_AMP), "\n"; +echo "All: ", json_encode($a,JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP), "\n\n"; + +$b = array(); + +echo "Ausgabe eines leeren Arrays als Array: ", json_encode($b), "\n"; +echo "Ausgabe eines leeren Arrays als Objekt: ", json_encode($b, JSON_FORCE_OBJECT), "\n\n"; + +$c = array(array(1,2,3)); + +echo "Ausgabe eines nichtassoziativen Arrays als Array: ", json_encode($c), "\n"; +echo "Ausgabe eines nichtassoziativen Arrays als Objekt: ", json_encode($c, JSON_FORCE_OBJECT), "\n\n"; +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Normal: ["<foo>","'bar'","\"baz\"","&blong&"] +Tags: ["\u003Cfoo\u003E","'bar'","\"baz\"","&blong&"] +Apos: ["<foo>","\u0027bar\u0027","\"baz\"","&blong&"] +Quot: ["<foo>","'bar'","\u0022baz\u0022","&blong&"] +Amp: ["<foo>","'bar'","\"baz\"","\u0026blong\u0026"] +All: ["\u003Cfoo\u003E","\u0027bar\u0027","\u0022baz\u0022","\u0026blong\u0026"] + +Ausgabe eines leeren Arrays als Array: [] +Ausgabe eines leeren Arrays als Objekt: {} + +Ausgabe eines nichtassoziativen Arrays als Array: [[1,2,3]] +Ausgabe eines nichtassoziativen Arrays als Objekt: {"0":{"0":1,"1":2,"2":3}} +]]> + </screen> + </example> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-de/reference/math/constants.xml diff -u phpdoc-de/reference/math/constants.xml:1.5 phpdoc-de/reference/math/constants.xml:1.6 --- phpdoc-de/reference/math/constants.xml:1.5 Sat Jan 17 16:38:20 2009 +++ phpdoc-de/reference/math/constants.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.7 Maintainer: sammywg Status: ready --> + <appendix xml:id="math.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants.core; @@ -17,114 +18,125 @@ </thead> <tbody> <row> - <entry>M_PI</entry> + <entry><constant>M_PI</constant></entry> <entry>3.14159265358979323846</entry> <entry>Pi</entry> </row> <row> - <entry>M_E</entry> + <entry><constant>M_E</constant></entry> <entry>2.7182818284590452354</entry> <entry>e</entry> </row> <row> - <entry>M_LOG2E</entry> + <entry><constant>M_LOG2E</constant></entry> <entry>1.4426950408889634074</entry> <entry>log_2 e</entry> </row> <row> - <entry>M_LOG10E</entry> + <entry><constant>M_LOG10E</constant></entry> <entry>0.43429448190325182765</entry> <entry>log_10 e</entry> </row> <row> - <entry>M_LN2</entry> + <entry><constant>M_LN2</constant></entry> <entry>0.69314718055994530942</entry> <entry>log_e 2</entry> </row> <row> - <entry>M_LN10</entry> + <entry><constant>M_LN10</constant></entry> <entry>2.30258509299404568402</entry> <entry>log_e 10</entry> </row> <row> - <entry>M_PI_2</entry> + <entry><constant>M_PI_2</constant></entry> <entry>1.57079632679489661923</entry> <entry>pi/2</entry> </row> <row> - <entry>M_PI_4</entry> + <entry><constant>M_PI_4</constant></entry> <entry>0.78539816339744830962</entry> <entry>pi/4</entry> </row> <row> - <entry>M_1_PI</entry> + <entry><constant>M_1_PI</constant></entry> <entry>0.31830988618379067154</entry> <entry>1/pi</entry> </row> <row> - <entry>M_2_PI</entry> + <entry><constant>M_2_PI</constant></entry> <entry>0.63661977236758134308</entry> <entry>2/pi</entry> </row> <row> - <entry>M_SQRTPI</entry> + <entry><constant>M_SQRTPI</constant></entry> <entry>1.77245385090551602729</entry> <entry>sqrt(pi) [5.2.0]</entry> </row> <row> - <entry>M_2_SQRTPI</entry> + <entry><constant>M_2_SQRTPI</constant></entry> <entry>1.12837916709551257390</entry> <entry>2/sqrt(pi)</entry> </row> <row> - <entry>M_SQRT2</entry> + <entry><constant>M_SQRT2</constant></entry> <entry>1.41421356237309504880</entry> <entry>sqrt(2)</entry> </row> <row> - <entry>M_SQRT3</entry> + <entry><constant>M_SQRT3</constant></entry> <entry>1.73205080756887729352</entry> <entry>sqrt(3) [5.2.0]</entry> </row> <row> - <entry>M_SQRT1_2</entry> + <entry><constant>M_SQRT1_2</constant></entry> <entry>0.70710678118654752440</entry> <entry>1/sqrt(2)</entry> </row> <row> - <entry>M_LNPI</entry> + <entry><constant>M_LNPI</constant></entry> <entry>1.14472988584940017414</entry> <entry>log_e(pi) [5.2.0]</entry> </row> <row> - <entry>M_EULER</entry> + <entry><constant>M_EULER</constant></entry> <entry>0.57721566490153286061</entry> <entry>Euler-Konstante [5.2.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_UP</entry> + <entry><constant>PHP_ROUND_HALF_UP</constant></entry> <entry>1</entry> <entry>n,5 wird aufgerundet [5.3.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_DOWN</entry> + <entry><constant>PHP_ROUND_HALF_DOWN</constant></entry> <entry>2</entry> <entry>n,5 wird abgerundet [5.3.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_EVEN</entry> + <entry><constant>PHP_ROUND_HALF_EVEN</constant></entry> <entry>3</entry> <entry>n,5 wird zur nächsten geraden Zahl gerundet [5.3.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_ODD</entry> + <entry><constant>PHP_ROUND_HALF_ODD</constant></entry> <entry>4</entry> <entry>n,5 wird zur nächsten ungeraden Zahl gerundet [5.3.0]</entry> </row> + <row> + <entry><constant>NAN</constant></entry> + <entry>NAN (als FlieÃkommazahl)</entry> + <entry>Not A Number (Keine Zahl)</entry> + </row> + <row> + <entry><constant>INF</constant></entry> + <entry>INF (als FlieÃkommazahl)</entry> + <entry>infinite (unendlich)</entry> + </row> </tbody> </tgroup> </table> - Nur M_PI ist in PHP-Versionen bis einschlieÃlich PHP 4.0.0 verfügbar. + Nur <constant>M_PI</constant> ist in PHP-Versionen bis einschlieÃlich + PHP 4.0.0 verfügbar. Alle anderen Konstanten stehen erst seit PHP 4.0.0 zur Verfügung. Konstanten, die mit [5.2.0] bezeichnet sind, wurden mit PHP 5.2.0 eingeführt. </para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/mt-srand.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-de/reference/math/functions/mt-srand.xml diff -u phpdoc-de/reference/math/functions/mt-srand.xml:1.7 phpdoc-de/reference/math/functions/mt-srand.xml:1.8 --- phpdoc-de/reference/math/functions/mt-srand.xml:1.7 Fri Oct 26 14:56:10 2007 +++ phpdoc-de/reference/math/functions/mt-srand.xml Wed Mar 25 11:24:34 2009 @@ -1,11 +1,13 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.14 Maintainer: sammywg Status: ready --> + <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mt-srand"> <refnamediv> <refname>mt_srand</refname> <refpurpose>Setzt den besseren Zufallszahlengenerator</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -17,8 +19,8 @@ einem Zufallswert, wenn <parameter>seed</parameter> nicht angegeben ist. </para> ¬e.randomseed; - </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -34,6 +36,14 @@ </variablelist> </para> </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> @@ -49,8 +59,8 @@ <row> <entry>Since 4.2.0</entry> <entry> - Der Parameter <parameter>seed</parameter> wird optional und enthält - standardmäßig einen Zufallswert, sofern er nicht angegeben wurde. + Der Parameter <parameter>seed</parameter> wird optional und enthält + standardmäÃig einen Zufallswert, sofern er nicht angegeben wurde. </entry> </row> <row> @@ -58,7 +68,7 @@ <entry> Die Mersenne-Twister-Implementation in PHP verwendet jetzt einen neuen Seeding-Algorithmus von Richard Wagner. Identische Seeds erzeugen - nicht länger die selbe Sequenz von Werten wie in früheren Versionen. + nicht länger die selbe Sequenz von Werten wie in früheren Versionen. Dieses Verhalten wird nicht als noch einmal wechselnd erwartet, aber es ist trotzdem nicht sicher, darauf bedingungslos zu vertrauen. </entry> @@ -68,6 +78,7 @@ </informaltable> </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -90,6 +101,7 @@ </example> </para> </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -100,6 +112,7 @@ </simplelist> </para> </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/misc/functions/ignore-user-abort.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-de/reference/misc/functions/ignore-user-abort.xml diff -u phpdoc-de/reference/misc/functions/ignore-user-abort.xml:1.11 phpdoc-de/reference/misc/functions/ignore-user-abort.xml:1.12 --- phpdoc-de/reference/misc/functions/ignore-user-abort.xml:1.11 Wed Mar 4 09:21:47 2009 +++ phpdoc-de/reference/misc/functions/ignore-user-abort.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.10 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ignore-user-abort" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>ignore_user_abort</methodname> - <methodparam choice="opt"><type>string</type><parameter>setting</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Setzt den Wert dafür, ob der Abbruch einer Client-Verbindung die weitere @@ -25,11 +25,15 @@ <para> <variablelist> <varlistentry> - <term><parameter>setting</parameter></term> + <term><parameter>value</parameter></term> <listitem> <para> - Falls dieser Parameter nicht angegeben wird, gibt diese Funktion nur - die akuelle Einstellung zurück. + Sofern dieser Parameter angegeben wird, überschreibt diese Funktion + die aktuelle Einstellung von <link + linkend="ini.ignore-user-abort">ignore_user_abort</link> mit dem + übergebenen <parameter>value</parameter>. Ist der Parameter nicht + angegeben, gibt die Funktion nur die akuelle Einstellung zurück, + ohne sie zu verändern. </para> </listitem> </varlistentry> @@ -40,7 +44,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Gibt das vorhergehende Setting als Wahrheitswert (boolean) zurück. + Gibt das vorhergehende Setting als Ganzzahl (integer) zurück. </para> </refsect1> @@ -63,14 +67,14 @@ // betätigen lässt while(1) { - // Schlug die Verbindung fehl? - if(connection_status() != CONNECTION_NORMAL) - { - break; - } + // Schlug die Verbindung fehl? + if(connection_status() != CONNECTION_NORMAL) + { + break; + } - // 10 Sekunden warten - sleep(10); + // 10 Sekunden warten + sleep(10); } // Wird dieser Punkt erreicht, wurde das 'break' http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/misc/functions/define.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-de/reference/misc/functions/define.xml diff -u phpdoc-de/reference/misc/functions/define.xml:1.9 phpdoc-de/reference/misc/functions/define.xml:1.10 --- phpdoc-de/reference/misc/functions/define.xml:1.9 Sat Jan 17 16:47:12 2009 +++ phpdoc-de/reference/misc/functions/define.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.12 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.define" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>define</refname> @@ -39,7 +40,9 @@ Der Wert der Konstante. Es sind nur Skalar- und <type>NULL</type>-Werte sind erlaubt. Skalarwerte sind <type>Ganzzahlen</type>, <type>Gleitkommazahlen</type>, <type>Zeichenketten</type> oder - <type>boolsche</type> Werte. + <type>boolsche</type> Werte. Es ist möglich, Konstanten vom Typ + <type>Ressource</type> zu definieren, allerdings wird dies nicht empfohlen, + da es unvorhersagbares Verhalten des Programms zur Folge haben kann. </para> </listitem> </varlistentry> @@ -104,6 +107,7 @@ </refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/unserialize.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-de/reference/var/functions/unserialize.xml diff -u phpdoc-de/reference/var/functions/unserialize.xml:1.6 phpdoc-de/reference/var/functions/unserialize.xml:1.7 --- phpdoc-de/reference/var/functions/unserialize.xml:1.6 Thu Oct 9 15:51:17 2008 +++ phpdoc-de/reference/var/functions/unserialize.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.23 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.24 Maintainer: sammywg Status: ready --> <refentry xml:id="function.unserialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>unserialize</refname> @@ -115,7 +115,7 @@ $conn = odbc_connect("webdb", "php", "chicken"); $stmt = odbc_prepare($conn, "SELECT data FROM sessions WHERE id = ?"); $sqldata = array($_SERVER['PHP_AUTH_USER']); -if (!odbc_execute($stmt, &$sqldata) || !odbc_fetch_into($stmt, &$tmp)) { +if (!odbc_execute($stmt, $sqldata) || !odbc_fetch_into($stmt, $tmp)) { // wenn execute oder fetch fehlschlägt, initialisiere ein leeres Array $session_data = array(); } else { http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/serialize.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-de/reference/var/functions/serialize.xml diff -u phpdoc-de/reference/var/functions/serialize.xml:1.9 phpdoc-de/reference/var/functions/serialize.xml:1.10 --- phpdoc-de/reference/var/functions/serialize.xml:1.9 Mon Nov 10 07:41:14 2008 +++ phpdoc-de/reference/var/functions/serialize.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.17 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.18 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>serialize</refname> @@ -86,10 +87,10 @@ $stmt = odbc_prepare($conn, "UPDATE sessions SET data = ? WHERE id = ?"); $sqldata = array (serialize($session_data), $_SERVER['PHP_AUTH_USER']); -if (!odbc_execute($stmt, &$sqldata)) { +if (!odbc_execute($stmt, $sqldata)) { $stmt = odbc_prepare($conn, "INSERT INTO sessions (id, data) VALUES(?, ?)"); - if (!odbc_execute($stmt, &$sqldata)) { + if (!odbc_execute($stmt, $sqldata)) { /* Irgendwas ging schief ... */ } } http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/unset.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-de/reference/var/functions/unset.xml diff -u phpdoc-de/reference/var/functions/unset.xml:1.7 phpdoc-de/reference/var/functions/unset.xml:1.8 --- phpdoc-de/reference/var/functions/unset.xml:1.7 Tue Aug 19 10:52:38 2008 +++ phpdoc-de/reference/var/functions/unset.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.20 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.21 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.unset" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>unset</refname> @@ -203,6 +204,12 @@ </thead> <tbody> <row> + <entry>4.0.1</entry> + <entry> + Unterstützung für multiple Argumente hinzugefügt. + </entry> + </row> + <row> <entry>4.0.0</entry> <entry> <function>unset</function> wird ein Ausdruck. (In PHP 3 gibt http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-statname.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-statname.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-statname.xml:1.2 phpdoc-de/reference/zip/functions/ziparchive-statname.xml:1.3 --- phpdoc-de/reference/zip/functions/ziparchive-statname.xml:1.2 Fri Jan 2 19:35:19 2009 +++ phpdoc-de/reference/zip/functions/ziparchive-statname.xml Wed Mar 25 11:24:34 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-statname" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::statName</refname> <refpurpose>Gibt die Details eines via Namen bestimmten Eintrags zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -74,13 +75,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Die Statusinformation eines Eintrags ausgeben</title> - <programlisting role="php"> + <example> + <title>Die Statusinformation eines Eintrags ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test.zip') +$res = $zip->open('test.zip'); if ($res === TRUE) { print_r($zip->statName('foobar/baz')); $zip->close(); @@ -89,9 +90,9 @@ } ?> ]]> - </programlisting> - &example.outputs.similar; - <screen> + </programlisting> + &example.outputs.similar; + <screen> <![CDATA[ Array ( @@ -104,11 +105,10 @@ [comp_method] => 8 ) ]]> - </screen> - - </example> + </screen> + </example> + </refsect1> - </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-getcommentindex" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -8,6 +8,7 @@ <refpurpose>Gibt den Kommentar zu einem Eintrag unter Verwendung des Eintragsindex zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -55,13 +56,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Eintragskommentar ausgeben</title> - <programlisting role="php"> + <example> + <title>Einen Eintragskommentar ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test1.zip') +$res = $zip->open('test1.zip'); if ($res === TRUE) { var_dump($zip->getCommentIndex(1)); } else { @@ -69,9 +70,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml Wed Mar 25 11:24:34 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-renameindex" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::renameIndex</refname> <refpurpose>Benennt einen durch seinen Index bestimmten Eintrag um</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -52,13 +53,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Eintrag umbenennen</title> - <programlisting role="php"> + <example> + <title>Einen Eintrag umbenennen</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test.zip') +$res = $zip->open('test.zip'); if ($res === TRUE) { $zip->renameIndex(2,'neuer_name.txt'); $zip->close(); @@ -67,9 +68,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-getcommentname" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -8,6 +8,7 @@ <refpurpose>Gibt den Kommentar zu einem Eintrag unter Verwendung des Eintragsnamens zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -55,13 +56,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Eintragskommentar ausgeben</title> - <programlisting role="php"> + <example> + <title>Einen Eintragskommentar ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test1.zip') +$res = $zip->open('test1.zip'); if ($res === TRUE) { var_dump($zip->getCommentName('test/eintrag1.txt')); } else { @@ -69,9 +70,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-statindex.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-statindex.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-statindex.xml:1.2 phpdoc-de/reference/zip/functions/ziparchive-statindex.xml:1.3 --- phpdoc-de/reference/zip/functions/ziparchive-statindex.xml:1.2 Fri Jan 2 19:35:19 2009 +++ phpdoc-de/reference/zip/functions/ziparchive-statindex.xml Wed Mar 25 11:24:34 2009 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.ziparchive-statindex" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::statIndex</refname> <refpurpose>Gibt die Details eines via Index bestimmten Eintrags zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -55,13 +57,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Die Statusinformation eines Eintrags ausgeben</title> - <programlisting role="php"> + <example> + <title>Die Statusinformation eines Eintrags ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test.zip') +$res = $zip->open('test.zip'); if ($res === TRUE) { print_r($zip->statIndex(3)); $zip->close(); @@ -70,9 +72,9 @@ } ?> ]]> - </programlisting> - &example.outputs.similar; - <screen> + </programlisting> + &example.outputs.similar; + <screen> <![CDATA[ Array ( @@ -85,11 +87,10 @@ [comp_method] => 8 ) ]]> - </screen> - - </example> - - </refsect1> + </screen> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml Wed Mar 25 11:24:34 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-getarchivecomment" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::getArchiveComment</refname> <refpurpose>Gibt den ZIP-Archiv-Kommentar zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -27,13 +28,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Archivkommentar ausgeben</title> - <programlisting role="php"> + <example> + <title>Einen Archivkommentar ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test_with_comment.zip') +$res = $zip->open('test_with_comment.zip'); if ($res === TRUE) { var_dump($zip->getArchiveComment()); /* Oder die Archiveigenschaft verwenden */ @@ -43,9 +44,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry>
http://cvs.php.net/viewvc.cgi/phpdoc-de/language/predefined/variables/get.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/language/predefined/variables/get.xml diff -u phpdoc-de/language/predefined/variables/get.xml:1.2 phpdoc-de/language/predefined/variables/get.xml:1.3 --- phpdoc-de/language/predefined/variables/get.xml:1.2 Tue Aug 26 16:02:59 2008 +++ phpdoc-de/language/predefined/variables/get.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> <phpdoc:varentry xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="reserved.variables.get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" role="noversion"> <refnamediv> @@ -13,9 +13,8 @@ &reftitle.description; <para> Ein assoziatives <type>Array</type> von Variablen, die dem aktuellen Skript - mittels der HTTP GET-Methode übergeben werden. + mittels der URL-Parameter übergeben werden. </para> - <simpara> <varname>$HTTP_GET_VARS</varname> enthält anfangs die selben Informationen, ist aber kein <link @@ -24,10 +23,8 @@ unterschiedliche Variablen sind und von PHP daher entsprechend behandelt werden.) </simpara> - </refsect1> - <refsect1 role="changelog"> &reftitle.changelog; <para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/apache/functions/apache-request-headers.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/apache/functions/apache-request-headers.xml diff -u phpdoc-de/reference/apache/functions/apache-request-headers.xml:1.8 phpdoc-de/reference/apache/functions/apache-request-headers.xml:1.9 --- phpdoc-de/reference/apache/functions/apache-request-headers.xml:1.8 Thu Dec 25 19:00:38 2008 +++ phpdoc-de/reference/apache/functions/apache-request-headers.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.12 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> <refentry xml:id="function.apache-request-headers" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -28,6 +28,39 @@ </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>4.3.3</entry> + <entry> + ¬e.apache.nsapi-module; + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + Vor PHP 4.3.0 hieà <function>apache_request_headers</function> + <function>getallheaders</function>. Seit PHP 4.3.0 ist + <function>gettallheaders</function> ein Alias für + <function>apache_request_headers</function>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -63,14 +96,6 @@ &reftitle.notes; <note> <para> - Vor PHP 4.3.0 hieà die Funktion <function>apache_request_headers</function> - <function>getallheaders</function>. Mit PHP 4.3.0 ist - <function>getallheaders</function> ein Alias für - <function>apache_request_headers</function>. - </para> - </note> - <note> - <para> Die Werte der gebräuchlichsten CGI-Variablen können Sie auch durch das Auslesen der Umgebungsvariablen erhalten. Dieser Weg funktioniert unabhängig davon, ob Sie PHP als Modul für @@ -80,7 +105,6 @@ zu erhalten. </para> </note> - ¬e.apache.nsapi-module; </refsect1> <refsect1 role="seealso"> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/exec/functions/proc-terminate.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/reference/exec/functions/proc-terminate.xml diff -u phpdoc-de/reference/exec/functions/proc-terminate.xml:1.2 phpdoc-de/reference/exec/functions/proc-terminate.xml:1.3 --- phpdoc-de/reference/exec/functions/proc-terminate.xml:1.2 Tue Feb 17 15:39:49 2009 +++ phpdoc-de/reference/exec/functions/proc-terminate.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.11 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.12 Maintainer: sammywg Status: ready --> <refentry xml:id='function.proc-terminate' xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -25,9 +25,7 @@ <function>proc_terminate</function> erlaubt es Ihnen, einen Prozess zu beenden und mit anderen Tasks fortzufahren. Sie können den Prozess unter Verwendung der Funktion <function>proc_get_status</function> pollen - (wenn Sie sehen wollen, ob er bereits beendet wurde). Dies ist allerdings - nur mit PHP 5.2.2 oder neuer möglich, ältere Versionen zerstören das - übergebene Prozesshandle <parameter>resource</parameter>. + (wenn Sie sehen wollen, ob er bereits beendet wurde). </para> </refsect1> @@ -67,6 +65,31 @@ </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> + Ãltere Versionen wurden verwendet, um das übergebene Prozesshandle + <parameter>resource</parameter> zu zerstören. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/json/functions/json-encode.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/json/functions/json-encode.xml diff -u phpdoc-de/reference/json/functions/json-encode.xml:1.3 phpdoc-de/reference/json/functions/json-encode.xml:1.4 --- phpdoc-de/reference/json/functions/json-encode.xml:1.3 Sat Mar 7 23:32:59 2009 +++ phpdoc-de/reference/json/functions/json-encode.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.8 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: sammywg Status: ready --> <refentry xml:id="function.json-encode" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -41,10 +41,11 @@ <term><parameter>options</parameter></term> <listitem> <para> - Bitmaske bestehend aus <constant>PHP_JSON_HEX_QUOT</constant>, - <constant>PHP_JSON_HEX_TAG</constant>, - <constant>PHP_JSON_HEX_AMP</constant> und - <constant>PHP_JSON_HEX_APOS</constant>. StandardmäÃig auf 0 gesetzt. + Bitmaske bestehend aus <constant>JSON_HEX_QUOT</constant>, + <constant>JSON_HEX_TAG</constant>, + <constant>JSON_HEX_AMP</constant>, + <constant>JSON_HEX_APOS</constant> und + <constant>JSON_FORCE_OBJECT</constant>. StandardmäÃig auf 0 gesetzt. </para> </listitem> </varlistentry> @@ -72,6 +73,12 @@ </thead> <tbody> <row> + <entry>5.3.0</entry> + <entry> + Der Parameter <parameter>options</parameter> wurde hinzugefügt. + </entry> + </row> + <row> <entry>5.2.1</entry> <entry> Unterstützung für JSON-kodierte Grundtypen hinzugefügt. @@ -104,6 +111,52 @@ ]]> </screen> </example> + + <example> + <title>Ein <function>json_encode</function>-Beispiel, das den Einsatz + aller Optionen zeigt</title> + <programlisting role="php"> +<![CDATA[ +<?php +$a = array('<foo>',"'bar'",'"baz"','&blong&'); + +echo "Normal: ", json_encode($a), "\n"; +echo "Tags: ", json_encode($a,JSON_HEX_TAG), "\n"; +echo "Apos: ", json_encode($a,JSON_HEX_APOS), "\n"; +echo "Quot: ", json_encode($a,JSON_HEX_QUOT), "\n"; +echo "Amp: ", json_encode($a,JSON_HEX_AMP), "\n"; +echo "All: ", json_encode($a,JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP), "\n\n"; + +$b = array(); + +echo "Ausgabe eines leeren Arrays als Array: ", json_encode($b), "\n"; +echo "Ausgabe eines leeren Arrays als Objekt: ", json_encode($b, JSON_FORCE_OBJECT), "\n\n"; + +$c = array(array(1,2,3)); + +echo "Ausgabe eines nichtassoziativen Arrays als Array: ", json_encode($c), "\n"; +echo "Ausgabe eines nichtassoziativen Arrays als Objekt: ", json_encode($c, JSON_FORCE_OBJECT), "\n\n"; +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Normal: ["<foo>","'bar'","\"baz\"","&blong&"] +Tags: ["\u003Cfoo\u003E","'bar'","\"baz\"","&blong&"] +Apos: ["<foo>","\u0027bar\u0027","\"baz\"","&blong&"] +Quot: ["<foo>","'bar'","\u0022baz\u0022","&blong&"] +Amp: ["<foo>","'bar'","\"baz\"","\u0026blong\u0026"] +All: ["\u003Cfoo\u003E","\u0027bar\u0027","\u0022baz\u0022","\u0026blong\u0026"] + +Ausgabe eines leeren Arrays als Array: [] +Ausgabe eines leeren Arrays als Objekt: {} + +Ausgabe eines nichtassoziativen Arrays als Array: [[1,2,3]] +Ausgabe eines nichtassoziativen Arrays als Objekt: {"0":{"0":1,"1":2,"2":3}} +]]> + </screen> + </example> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/constants.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-de/reference/math/constants.xml diff -u phpdoc-de/reference/math/constants.xml:1.5 phpdoc-de/reference/math/constants.xml:1.6 --- phpdoc-de/reference/math/constants.xml:1.5 Sat Jan 17 16:38:20 2009 +++ phpdoc-de/reference/math/constants.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.7 Maintainer: sammywg Status: ready --> + <appendix xml:id="math.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants.core; @@ -17,114 +18,125 @@ </thead> <tbody> <row> - <entry>M_PI</entry> + <entry><constant>M_PI</constant></entry> <entry>3.14159265358979323846</entry> <entry>Pi</entry> </row> <row> - <entry>M_E</entry> + <entry><constant>M_E</constant></entry> <entry>2.7182818284590452354</entry> <entry>e</entry> </row> <row> - <entry>M_LOG2E</entry> + <entry><constant>M_LOG2E</constant></entry> <entry>1.4426950408889634074</entry> <entry>log_2 e</entry> </row> <row> - <entry>M_LOG10E</entry> + <entry><constant>M_LOG10E</constant></entry> <entry>0.43429448190325182765</entry> <entry>log_10 e</entry> </row> <row> - <entry>M_LN2</entry> + <entry><constant>M_LN2</constant></entry> <entry>0.69314718055994530942</entry> <entry>log_e 2</entry> </row> <row> - <entry>M_LN10</entry> + <entry><constant>M_LN10</constant></entry> <entry>2.30258509299404568402</entry> <entry>log_e 10</entry> </row> <row> - <entry>M_PI_2</entry> + <entry><constant>M_PI_2</constant></entry> <entry>1.57079632679489661923</entry> <entry>pi/2</entry> </row> <row> - <entry>M_PI_4</entry> + <entry><constant>M_PI_4</constant></entry> <entry>0.78539816339744830962</entry> <entry>pi/4</entry> </row> <row> - <entry>M_1_PI</entry> + <entry><constant>M_1_PI</constant></entry> <entry>0.31830988618379067154</entry> <entry>1/pi</entry> </row> <row> - <entry>M_2_PI</entry> + <entry><constant>M_2_PI</constant></entry> <entry>0.63661977236758134308</entry> <entry>2/pi</entry> </row> <row> - <entry>M_SQRTPI</entry> + <entry><constant>M_SQRTPI</constant></entry> <entry>1.77245385090551602729</entry> <entry>sqrt(pi) [5.2.0]</entry> </row> <row> - <entry>M_2_SQRTPI</entry> + <entry><constant>M_2_SQRTPI</constant></entry> <entry>1.12837916709551257390</entry> <entry>2/sqrt(pi)</entry> </row> <row> - <entry>M_SQRT2</entry> + <entry><constant>M_SQRT2</constant></entry> <entry>1.41421356237309504880</entry> <entry>sqrt(2)</entry> </row> <row> - <entry>M_SQRT3</entry> + <entry><constant>M_SQRT3</constant></entry> <entry>1.73205080756887729352</entry> <entry>sqrt(3) [5.2.0]</entry> </row> <row> - <entry>M_SQRT1_2</entry> + <entry><constant>M_SQRT1_2</constant></entry> <entry>0.70710678118654752440</entry> <entry>1/sqrt(2)</entry> </row> <row> - <entry>M_LNPI</entry> + <entry><constant>M_LNPI</constant></entry> <entry>1.14472988584940017414</entry> <entry>log_e(pi) [5.2.0]</entry> </row> <row> - <entry>M_EULER</entry> + <entry><constant>M_EULER</constant></entry> <entry>0.57721566490153286061</entry> <entry>Euler-Konstante [5.2.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_UP</entry> + <entry><constant>PHP_ROUND_HALF_UP</constant></entry> <entry>1</entry> <entry>n,5 wird aufgerundet [5.3.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_DOWN</entry> + <entry><constant>PHP_ROUND_HALF_DOWN</constant></entry> <entry>2</entry> <entry>n,5 wird abgerundet [5.3.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_EVEN</entry> + <entry><constant>PHP_ROUND_HALF_EVEN</constant></entry> <entry>3</entry> <entry>n,5 wird zur nächsten geraden Zahl gerundet [5.3.0]</entry> </row> <row> - <entry>PHP_ROUND_HALF_ODD</entry> + <entry><constant>PHP_ROUND_HALF_ODD</constant></entry> <entry>4</entry> <entry>n,5 wird zur nächsten ungeraden Zahl gerundet [5.3.0]</entry> </row> + <row> + <entry><constant>NAN</constant></entry> + <entry>NAN (als FlieÃkommazahl)</entry> + <entry>Not A Number (Keine Zahl)</entry> + </row> + <row> + <entry><constant>INF</constant></entry> + <entry>INF (als FlieÃkommazahl)</entry> + <entry>infinite (unendlich)</entry> + </row> </tbody> </tgroup> </table> - Nur M_PI ist in PHP-Versionen bis einschlieÃlich PHP 4.0.0 verfügbar. + Nur <constant>M_PI</constant> ist in PHP-Versionen bis einschlieÃlich + PHP 4.0.0 verfügbar. Alle anderen Konstanten stehen erst seit PHP 4.0.0 zur Verfügung. Konstanten, die mit [5.2.0] bezeichnet sind, wurden mit PHP 5.2.0 eingeführt. </para> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/mt-srand.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-de/reference/math/functions/mt-srand.xml diff -u phpdoc-de/reference/math/functions/mt-srand.xml:1.7 phpdoc-de/reference/math/functions/mt-srand.xml:1.8 --- phpdoc-de/reference/math/functions/mt-srand.xml:1.7 Fri Oct 26 14:56:10 2007 +++ phpdoc-de/reference/math/functions/mt-srand.xml Wed Mar 25 11:24:34 2009 @@ -1,11 +1,13 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.14 Maintainer: sammywg Status: ready --> + <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mt-srand"> <refnamediv> <refname>mt_srand</refname> <refpurpose>Setzt den besseren Zufallszahlengenerator</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -17,8 +19,8 @@ einem Zufallswert, wenn <parameter>seed</parameter> nicht angegeben ist. </para> ¬e.randomseed; - </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -34,6 +36,14 @@ </variablelist> </para> </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> @@ -49,8 +59,8 @@ <row> <entry>Since 4.2.0</entry> <entry> - Der Parameter <parameter>seed</parameter> wird optional und enthält - standardmäßig einen Zufallswert, sofern er nicht angegeben wurde. + Der Parameter <parameter>seed</parameter> wird optional und enthält + standardmäÃig einen Zufallswert, sofern er nicht angegeben wurde. </entry> </row> <row> @@ -58,7 +68,7 @@ <entry> Die Mersenne-Twister-Implementation in PHP verwendet jetzt einen neuen Seeding-Algorithmus von Richard Wagner. Identische Seeds erzeugen - nicht länger die selbe Sequenz von Werten wie in früheren Versionen. + nicht länger die selbe Sequenz von Werten wie in früheren Versionen. Dieses Verhalten wird nicht als noch einmal wechselnd erwartet, aber es ist trotzdem nicht sicher, darauf bedingungslos zu vertrauen. </entry> @@ -68,6 +78,7 @@ </informaltable> </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -90,6 +101,7 @@ </example> </para> </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -100,6 +112,7 @@ </simplelist> </para> </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/misc/functions/ignore-user-abort.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-de/reference/misc/functions/ignore-user-abort.xml diff -u phpdoc-de/reference/misc/functions/ignore-user-abort.xml:1.11 phpdoc-de/reference/misc/functions/ignore-user-abort.xml:1.12 --- phpdoc-de/reference/misc/functions/ignore-user-abort.xml:1.11 Wed Mar 4 09:21:47 2009 +++ phpdoc-de/reference/misc/functions/ignore-user-abort.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.10 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ignore-user-abort" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>ignore_user_abort</methodname> - <methodparam choice="opt"><type>string</type><parameter>setting</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Setzt den Wert dafür, ob der Abbruch einer Client-Verbindung die weitere @@ -25,11 +25,15 @@ <para> <variablelist> <varlistentry> - <term><parameter>setting</parameter></term> + <term><parameter>value</parameter></term> <listitem> <para> - Falls dieser Parameter nicht angegeben wird, gibt diese Funktion nur - die akuelle Einstellung zurück. + Sofern dieser Parameter angegeben wird, überschreibt diese Funktion + die aktuelle Einstellung von <link + linkend="ini.ignore-user-abort">ignore_user_abort</link> mit dem + übergebenen <parameter>value</parameter>. Ist der Parameter nicht + angegeben, gibt die Funktion nur die akuelle Einstellung zurück, + ohne sie zu verändern. </para> </listitem> </varlistentry> @@ -40,7 +44,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Gibt das vorhergehende Setting als Wahrheitswert (boolean) zurück. + Gibt das vorhergehende Setting als Ganzzahl (integer) zurück. </para> </refsect1> @@ -63,14 +67,14 @@ // betätigen lässt while(1) { - // Schlug die Verbindung fehl? - if(connection_status() != CONNECTION_NORMAL) - { - break; - } + // Schlug die Verbindung fehl? + if(connection_status() != CONNECTION_NORMAL) + { + break; + } - // 10 Sekunden warten - sleep(10); + // 10 Sekunden warten + sleep(10); } // Wird dieser Punkt erreicht, wurde das 'break' http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/misc/functions/define.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-de/reference/misc/functions/define.xml diff -u phpdoc-de/reference/misc/functions/define.xml:1.9 phpdoc-de/reference/misc/functions/define.xml:1.10 --- phpdoc-de/reference/misc/functions/define.xml:1.9 Sat Jan 17 16:47:12 2009 +++ phpdoc-de/reference/misc/functions/define.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.12 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.13 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.define" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>define</refname> @@ -39,7 +40,9 @@ Der Wert der Konstante. Es sind nur Skalar- und <type>NULL</type>-Werte sind erlaubt. Skalarwerte sind <type>Ganzzahlen</type>, <type>Gleitkommazahlen</type>, <type>Zeichenketten</type> oder - <type>boolsche</type> Werte. + <type>boolsche</type> Werte. Es ist möglich, Konstanten vom Typ + <type>Ressource</type> zu definieren, allerdings wird dies nicht empfohlen, + da es unvorhersagbares Verhalten des Programms zur Folge haben kann. </para> </listitem> </varlistentry> @@ -104,6 +107,7 @@ </refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/unserialize.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-de/reference/var/functions/unserialize.xml diff -u phpdoc-de/reference/var/functions/unserialize.xml:1.6 phpdoc-de/reference/var/functions/unserialize.xml:1.7 --- phpdoc-de/reference/var/functions/unserialize.xml:1.6 Thu Oct 9 15:51:17 2008 +++ phpdoc-de/reference/var/functions/unserialize.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.23 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.24 Maintainer: sammywg Status: ready --> <refentry xml:id="function.unserialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>unserialize</refname> @@ -115,7 +115,7 @@ $conn = odbc_connect("webdb", "php", "chicken"); $stmt = odbc_prepare($conn, "SELECT data FROM sessions WHERE id = ?"); $sqldata = array($_SERVER['PHP_AUTH_USER']); -if (!odbc_execute($stmt, &$sqldata) || !odbc_fetch_into($stmt, &$tmp)) { +if (!odbc_execute($stmt, $sqldata) || !odbc_fetch_into($stmt, $tmp)) { // wenn execute oder fetch fehlschlägt, initialisiere ein leeres Array $session_data = array(); } else { http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/serialize.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-de/reference/var/functions/serialize.xml diff -u phpdoc-de/reference/var/functions/serialize.xml:1.9 phpdoc-de/reference/var/functions/serialize.xml:1.10 --- phpdoc-de/reference/var/functions/serialize.xml:1.9 Mon Nov 10 07:41:14 2008 +++ phpdoc-de/reference/var/functions/serialize.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.17 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.18 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>serialize</refname> @@ -86,10 +87,10 @@ $stmt = odbc_prepare($conn, "UPDATE sessions SET data = ? WHERE id = ?"); $sqldata = array (serialize($session_data), $_SERVER['PHP_AUTH_USER']); -if (!odbc_execute($stmt, &$sqldata)) { +if (!odbc_execute($stmt, $sqldata)) { $stmt = odbc_prepare($conn, "INSERT INTO sessions (id, data) VALUES(?, ?)"); - if (!odbc_execute($stmt, &$sqldata)) { + if (!odbc_execute($stmt, $sqldata)) { /* Irgendwas ging schief ... */ } } http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/var/functions/unset.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-de/reference/var/functions/unset.xml diff -u phpdoc-de/reference/var/functions/unset.xml:1.7 phpdoc-de/reference/var/functions/unset.xml:1.8 --- phpdoc-de/reference/var/functions/unset.xml:1.7 Tue Aug 19 10:52:38 2008 +++ phpdoc-de/reference/var/functions/unset.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.20 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.21 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.unset" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>unset</refname> @@ -203,6 +204,12 @@ </thead> <tbody> <row> + <entry>4.0.1</entry> + <entry> + Unterstützung für multiple Argumente hinzugefügt. + </entry> + </row> + <row> <entry>4.0.0</entry> <entry> <function>unset</function> wird ein Ausdruck. (In PHP 3 gibt http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-statname.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-statname.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-statname.xml:1.2 phpdoc-de/reference/zip/functions/ziparchive-statname.xml:1.3 --- phpdoc-de/reference/zip/functions/ziparchive-statname.xml:1.2 Fri Jan 2 19:35:19 2009 +++ phpdoc-de/reference/zip/functions/ziparchive-statname.xml Wed Mar 25 11:24:34 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-statname" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::statName</refname> <refpurpose>Gibt die Details eines via Namen bestimmten Eintrags zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -74,13 +75,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Die Statusinformation eines Eintrags ausgeben</title> - <programlisting role="php"> + <example> + <title>Die Statusinformation eines Eintrags ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test.zip') +$res = $zip->open('test.zip'); if ($res === TRUE) { print_r($zip->statName('foobar/baz')); $zip->close(); @@ -89,9 +90,9 @@ } ?> ]]> - </programlisting> - &example.outputs.similar; - <screen> + </programlisting> + &example.outputs.similar; + <screen> <![CDATA[ Array ( @@ -104,11 +105,10 @@ [comp_method] => 8 ) ]]> - </screen> - - </example> + </screen> + </example> + </refsect1> - </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-getcommentindex.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-getcommentindex" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -8,6 +8,7 @@ <refpurpose>Gibt den Kommentar zu einem Eintrag unter Verwendung des Eintragsindex zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -55,13 +56,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Eintragskommentar ausgeben</title> - <programlisting role="php"> + <example> + <title>Einen Eintragskommentar ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test1.zip') +$res = $zip->open('test1.zip'); if ($res === TRUE) { var_dump($zip->getCommentIndex(1)); } else { @@ -69,9 +70,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-renameindex.xml Wed Mar 25 11:24:34 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-renameindex" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::renameIndex</refname> <refpurpose>Benennt einen durch seinen Index bestimmten Eintrag um</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -52,13 +53,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Eintrag umbenennen</title> - <programlisting role="php"> + <example> + <title>Einen Eintrag umbenennen</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test.zip') +$res = $zip->open('test.zip'); if ($res === TRUE) { $zip->renameIndex(2,'neuer_name.txt'); $zip->close(); @@ -67,9 +68,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-getcommentname.xml Wed Mar 25 11:24:34 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-getcommentname" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -8,6 +8,7 @@ <refpurpose>Gibt den Kommentar zu einem Eintrag unter Verwendung des Eintragsnamens zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -55,13 +56,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Eintragskommentar ausgeben</title> - <programlisting role="php"> + <example> + <title>Einen Eintragskommentar ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test1.zip') +$res = $zip->open('test1.zip'); if ($res === TRUE) { var_dump($zip->getCommentName('test/eintrag1.txt')); } else { @@ -69,9 +70,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-statindex.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-statindex.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-statindex.xml:1.2 phpdoc-de/reference/zip/functions/ziparchive-statindex.xml:1.3 --- phpdoc-de/reference/zip/functions/ziparchive-statindex.xml:1.2 Fri Jan 2 19:35:19 2009 +++ phpdoc-de/reference/zip/functions/ziparchive-statindex.xml Wed Mar 25 11:24:34 2009 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: sammywg Status: ready --> + <refentry xml:id="function.ziparchive-statindex" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::statIndex</refname> <refpurpose>Gibt die Details eines via Index bestimmten Eintrags zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -55,13 +57,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Die Statusinformation eines Eintrags ausgeben</title> - <programlisting role="php"> + <example> + <title>Die Statusinformation eines Eintrags ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test.zip') +$res = $zip->open('test.zip'); if ($res === TRUE) { print_r($zip->statIndex(3)); $zip->close(); @@ -70,9 +72,9 @@ } ?> ]]> - </programlisting> - &example.outputs.similar; - <screen> + </programlisting> + &example.outputs.similar; + <screen> <![CDATA[ Array ( @@ -85,11 +87,10 @@ [comp_method] => 8 ) ]]> - </screen> - - </example> - - </refsect1> + </screen> + </example> + </refsect1> + </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml diff -u phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml:1.1 phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml:1.2 --- phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml:1.1 Thu Jul 10 22:37:31 2008 +++ phpdoc-de/reference/zip/functions/ziparchive-getarchivecomment.xml Wed Mar 25 11:24:34 2009 @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: sammywg Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: sammywg Status: ready --> <refentry xml:id="function.ziparchive-getarchivecomment" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ZipArchive::getArchiveComment</refname> <refpurpose>Gibt den ZIP-Archiv-Kommentar zurück</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -27,13 +28,13 @@ <refsect1 role="examples"> &reftitle.examples; - <example> - <title>Einen Archivkommentar ausgeben</title> - <programlisting role="php"> + <example> + <title>Einen Archivkommentar ausgeben</title> + <programlisting role="php"> <![CDATA[ <?php $zip = new ZipArchive; -$res = $zip->open('test_with_comment.zip') +$res = $zip->open('test_with_comment.zip'); if ($res === TRUE) { var_dump($zip->getArchiveComment()); /* Oder die Archiveigenschaft verwenden */ @@ -43,9 +44,10 @@ } ?> ]]> - </programlisting> - </example> - </refsect1> + </programlisting> + </example> + </refsect1> + </refentry>