svn: /phpdoc/de/trunk/ appendices/ini.core.xml language/control-structures/include.xml language/control-structures.xml language-snippets.ent reference/bc/book.xml reference/filesystem/functions/chgrp.xml reference/filesystem/functions/chown.xml reference/filter/filters.xml reference/mysql/functions/mysql-data-seek.xml reference/strings/functions/strip-tags.xml reference/zip/constants.xml reference/zip/setup.xml reference/zip/ziparchive/addemptydir.xml reference/zip/ziparchive/addfile.xml referen

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Sun, 08 Mar 2020 10:02:12 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349349

Log:
Sync with EN

Changed paths:
    U   phpdoc/de/trunk/appendices/ini.core.xml
    U   phpdoc/de/trunk/language/control-structures/include.xml
    U   phpdoc/de/trunk/language/control-structures.xml
    U   phpdoc/de/trunk/language-snippets.ent
    U   phpdoc/de/trunk/reference/bc/book.xml
    U   phpdoc/de/trunk/reference/filesystem/functions/chgrp.xml
    U   phpdoc/de/trunk/reference/filesystem/functions/chown.xml
    U   phpdoc/de/trunk/reference/filter/filters.xml
    U   phpdoc/de/trunk/reference/mysql/functions/mysql-data-seek.xml
    U   phpdoc/de/trunk/reference/strings/functions/strip-tags.xml
    U   phpdoc/de/trunk/reference/zip/constants.xml
    U   phpdoc/de/trunk/reference/zip/setup.xml
    U   phpdoc/de/trunk/reference/zip/ziparchive/addemptydir.xml
    U   phpdoc/de/trunk/reference/zip/ziparchive/addfile.xml
    U   phpdoc/de/trunk/reference/zip/ziparchive/addfromstring.xml
    U   phpdoc/de/trunk/reference/zip/ziparchive.xml
svn-diffs-349349.txt (text/x-diff, 26.4 KB)
Modified: phpdoc/de/trunk/appendices/ini.core.xml
===================================================================
--- phpdoc/de/trunk/appendices/ini.core.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/appendices/ini.core.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349194 Maintainer: nikic Status: ready -->
+<!-- EN-Revision: 349307 Maintainer: nikic Status: ready -->

 <section xml:id="ini.core" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Beschreibung der &php.ini;-Direktiven des Sprachkerns</title>
@@ -1481,8 +1481,8 @@
        einzeln durch. Zuerst wird der erste Pfad getestet und wenn die Datei
        dort nicht gefunden wird, wird der nächste Pfad überprüft, bis letztendlich
        entweder die Datei gefunden wird oder aber PHP ein
-       <link linkend="errorfunc.constants.errorlevels.e-warning">Warning</link>
-       oder <link linkend="errorfunc.constants.errorlevels.e-error">Error</link>
+       <constant>E_WARNING</constant>
+       oder <constant>E_ERROR</constant>
        wirft. Der include path kann auch zur Laufzeit mit Hilfe der Funktion
        <function>set_include_path</function> geändert werden.
       </para>

Modified: phpdoc/de/trunk/language/control-structures/include.xml
===================================================================
--- phpdoc/de/trunk/language/control-structures/include.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/language/control-structures/include.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348957 Maintainer: raphaelm Status: ready -->
+<!-- EN-Revision: 349307 Maintainer: raphaelm Status: ready -->

 <sect1 xml:id="function.include" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>include</title>
@@ -20,9 +20,9 @@
   nicht gefunden werden kann, sucht <literal>include</literal> noch in
   dem Verzeichnis der aufrufenden Datei und dem aktuellen Arbeitsverzeichnis.
   Wenn keine Datei gefunden wurde, erzeugt <literal>include</literal>
-  eine <link linkend="errorfunc.constants.errorlevels.e-warning">Warnung</link>,
-  im Gegensatz dazu erzeugt <function>require</function> in diesem Fall einen
-  <link linkend="errorfunc.constants.errorlevels.e-error">Fatal Error</link>.
+  ein <constant>E_WARNING</constant>,
+  im Gegensatz dazu erzeugt <function>require</function> in diesem Fall ein
+  <constant>E_ERROR</constant>.
  </simpara>
  <simpara>
   Wenn ein Pfad angegeben ist — ob absolut (beginnend mit einem Laufwerksbuchstaben

Modified: phpdoc/de/trunk/language/control-structures.xml
===================================================================
--- phpdoc/de/trunk/language/control-structures.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/language/control-structures.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 349319 Maintainer: hholzgra Status: ready -->

 <chapter xml:id="language.control-structures" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Kontrollstrukturen</title>
@@ -20,6 +20,23 @@
    Die verschiedenen Anweisungstypen werden in diesem Kapitel
    beschrieben.
   </simpara>
+
+  <sect2 role="seealso">
+   &reftitle.seealso;
+   <para>
+    Die Folgenden werden ebenfalls als Sprachkonstrukte angesehen, auch wenn sie
+    im Handbuch als Funktionen aufgeführt werden.
+   </para>
+   <para>
+    <simplelist>
+     <member><function>list</function></member>
+     <member><function>array</function></member>
+     <member><function>echo</function></member>
+     <member><function>eval</function></member>
+    </simplelist>
+   </para>
+  </sect2>
+
  </sect1>

  &language.control-structures.if;

Modified: phpdoc/de/trunk/language-snippets.ent
===================================================================
--- phpdoc/de/trunk/language-snippets.ent	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/language-snippets.ent	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349148 Maintainer: simp Status: wip -->
+<!-- EN-Revision: 349322 Maintainer: simp Status: wip -->
 <!-- CREDITS: sammywg, mk, betz -->

 <!ENTITY installation.enabled.disable 'Diese Erweiterung ist standardmäßig aktiviert. Sie kann bei der Kompilierung mit der folgenden Option ausgeschaltet werden: '>
@@ -664,6 +664,10 @@

 <!ENTITY gd.font.size 'Die Schriftgröße in Punkten.'>

+<!ENTITY gd.deprecated.gd-formats '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Die GD
+und GD2 Bildformate sind proprietäre Bildformate von libgd. Sie sind als <emphasis>veraltet</emphasis>
+anzusehen, und sollten nur zu Entwicklungs- und Testzwecken verwendet werden.</simpara></warning>'>
+
 <!-- DBM notes -->

 <!ENTITY dbm.dbm-identifier.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>

Modified: phpdoc/de/trunk/reference/bc/book.xml
===================================================================
--- phpdoc/de/trunk/reference/bc/book.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/bc/book.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347753 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349317 Maintainer: sammywg Status: ready -->

 <book xml:id="book.bc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <?phpdoc extension-membership="bundled" ?>
@@ -11,8 +11,8 @@
  <preface xml:id="intro.bc">
   &reftitle.intro;
   <para>
-   Für beliebig genaue mathematische Operationen bietet PHP den Binary
-   Calculator, der Zahlen von beliebiger Länge und Genauigkeit mit bis zu <literal>2147483647</literal>
+   Für beliebig genaue mathematische Operationen bietet PHP BCMath,
+   das Zahlen von beliebiger Länge und Genauigkeit mit bis zu <literal>2147483647</literal>
    (oder <literal>0x7FFFFFFF</literal>) Stellen, die als String vorliegen, unterstützt,
    falls genügend Speicherplatz vorhanden ist.
   </para>

Modified: phpdoc/de/trunk/reference/filesystem/functions/chgrp.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/chgrp.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/filesystem/functions/chgrp.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 308663 Maintainer: khp Status: ready -->
+<!-- EN-Revision: 349320 Maintainer: khp Status: ready -->
 <refentry xml:id="function.chgrp" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>chgrp</refname>
@@ -81,6 +81,12 @@
   &reftitle.notes;
   &note.no-remote;
   &note.sm.uidcheck;
+  <note>
+   <simpara>
+    Unter Windows schlägt diese Funktion ohne stillschweigend fehl, wenn sie auf eine
+    reguläre Datei angewendet wird.
+   </simpara>
+  </note>
  </refsect1>

  <refsect1 role="seealso">

Modified: phpdoc/de/trunk/reference/filesystem/functions/chown.xml
===================================================================
--- phpdoc/de/trunk/reference/filesystem/functions/chown.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/filesystem/functions/chown.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336238 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 349320 Maintainer: hholzgra Status: ready -->
 <refentry xml:id="function.chown" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>chown</refname>
@@ -99,6 +99,12 @@
   &reftitle.notes;
   &note.no-remote;
   &note.sm.uidcheck;
+  <note>
+   <simpara>
+    Unter Windows schlägt diese Funktion stillschweigend fehl, wenn sie auf eine
+    reguläre Datei angewendet wird.
+   </simpara>
+  </note>
  </refsect1>

  <refsect1 role="seealso">

Modified: phpdoc/de/trunk/reference/filter/filters.xml
===================================================================
--- phpdoc/de/trunk/reference/filter/filters.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/filter/filters.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348513 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 349272 Maintainer: nobody Status: ready -->
 <!-- Reviewed: no -->

 <chapter xml:id="filter.filters" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">

Modified: phpdoc/de/trunk/reference/mysql/functions/mysql-data-seek.xml
===================================================================
--- phpdoc/de/trunk/reference/mysql/functions/mysql-data-seek.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/mysql/functions/mysql-data-seek.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 328734 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 349307 Maintainer: simp Status: ready -->
 <!-- Credits: hholzgra -->

 <refentry xml:id="function.mysql-data-seek" xmlns="http://docbook.org/ns/docbook">
@@ -41,7 +41,7 @@
    Ergebnismenge jedoch leer sein sollte
    (<function>mysql_num_rows</function> == 0) wird eine Suche nach
    Zeilennummer 0 mit einem
-   <link linkend="errorfunc.constants.errorlevels.e-warning">E_WARNING</link>
+   <constant>E_WARNING</constant>
    fehlschlagen und <function>mysql_data_seek</function> gibt &false;
    zurück.
   </para>

Modified: phpdoc/de/trunk/reference/strings/functions/strip-tags.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strip-tags.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/strings/functions/strip-tags.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348925 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349323 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strip-tags">
  <refnamediv>
@@ -13,7 +13,7 @@
   <methodsynopsis>
    <type>string</type><methodname>strip_tags</methodname>
    <methodparam><type>string</type><parameter>str</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam>
+   <methodparam choice="opt"><type>mixed</type><parameter>allowable_tags</parameter></methodparam>
   </methodsynopsis>
   <para>
    Diese Funktion versucht, einen String zurückzugeben, der die um alle NULL
@@ -42,6 +42,8 @@
       <para>
        Sie können den optionalen zweiten Parameter verwenden, um die Tags anzugeben,
        die nicht entfernt werden sollen.
+       Diese werden entweder als &string;, oder von PHP 7.4.0 an, als &array; angegeben.
+       Dem Beispiel weiter unten kann das Format dieses Parameters entnommen werden.
       </para>
       <note>
        <para>
@@ -94,6 +96,12 @@
      </thead>
      <tbody>
       <row>
+       <entry>7.4.0</entry>
+       <entry>
+        Der <parameter>allowable_tags</parameter> Parameter akzeptiert nun alternativ ein &array;.
+       </entry>
+      </row>
+      <row>
        <entry>5.3.4</entry>
        <entry>
         <function>strip_tags</function> ignoriert selbst-schließende
@@ -121,6 +129,9 @@

 // <p> und <a> zulassen
 echo strip_tags($text, '<p><a>');
+
+// von PHP 7.4.0 an kann die vorherige Zeile wie folgt geschrieben werden:
+// echo strip_tags($text, ['p', 'a']);
 ?>
 ]]>
     </programlisting>

Modified: phpdoc/de/trunk/reference/zip/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/constants.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/zip/constants.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349107 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 349279 Maintainer: hholzgra Status: ready -->
 <!-- Credits: jakoch -->

 <appendix xml:id="zip.constants" xmlns="http://docbook.org/ns/docbook">
@@ -119,7 +119,67 @@
     </simpara>
    </listitem>
   </varlistentry>
-
+  <varlistentry xml:id="ziparchive.constants.fl-recompress">
+   <term>
+    <constant>ZipArchive::FL_RECOMPRESS</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Erzwinge Neukomprimierung der Daten.
+     Verfügbar von PHP 8.0.0 und PECL zip 1.18.0 an.
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="ziparchive.constants.fl-encrypted">
+   <term>
+    <constant>ZipArchive::FL_ENCRYPTED</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Liest verschlüsselte Daten (impliziert FL_COMPRESSED).
+     Verfügbar von PHP 8.0.0 und PECL zip 1.18.0 an.
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="ziparchive.constants.fl-overwrite">
+   <term>
+    <constant>ZipArchive::FL_OVERWRITE</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Existiert die Datei mit diesem Namen bereit, wird sie überschrieben (ersetzt).
+     Verfügbar von PHP 8.0.0 und PECL zip 1.18.0 an.
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="ziparchive.constants.fl-local">
+   <term>
+    <constant>ZipArchive::FL_LOCAL</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     In den lokalen Headern.
+     Verfügbar von PHP 8.0.0 und PECL zip 1.18.0 an.
+    </simpara>
+   </listitem>
+  </varlistentry>
+  <varlistentry xml:id="ziparchive.constants.fl-central">
+   <term>
+    <constant>ZipArchive::ZIP_FL_CENTRAL</constant>
+     (<type>integer</type>)
+   </term>
+   <listitem>
+    <simpara>
+     Im zentralen Verzeichnis.
+     Verfügbar von PHP 8.0.0 und PECL zip 1.18.0 an.
+    </simpara>
+   </listitem>
+  </varlistentry>
+
   <varlistentry xml:id="ziparchive.constants.fl-enc-guess">
    <term>
     <constant>ZipArchive::FL_ENC_GUESS</constant>

Modified: phpdoc/de/trunk/reference/zip/setup.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/setup.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/zip/setup.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339992 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 349295 Maintainer: hholzgra Status: ready -->

 <chapter xml:id="zip.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  &reftitle.setup;
@@ -9,9 +9,20 @@
  <section xml:id="zip.requirements">
   &reftitle.required;
   <para>
-   Diese Extension benötigt <link xlink:href="&url.libzip;">libzip</link>, das mit PHP ausgeliefert wird.
+   Diese Extension benötigt <link xlink:href="&url.libzip;">libzip</link>.
+   Version 1.1.2 wurde mit PHP bis Version 7.3 ausgeliefert.
   </para>
- </section>
+  <para>
+   Die Mindestanforderung ist Version 0.11, aber neuere werden dringend empfohlen.
+  </para>
+  <para>
+     <simplelist>
+      <member>Version 1.2 wird für Verschlüsselungsunterstützung benötigt, siehe <methodname>ZipArchive::setEncryptionIndex</methodname></member>
+      <member>Version 1.3 wird für Fortschrittsunterstüzung benötigt, siehe <methodname>ZipArchive::registerProgressCallback</methodname></member>
+      <member>Version 1.6 wird für Abbruchsunterstüztung benötigt, siehe <methodname>ZipArchive::registerCancelCallback</methodname></member>
+     </simplelist>
+  </para>
+  </section>
  <!-- }}} -->

  <!-- {{{ Installation -->

Modified: phpdoc/de/trunk/reference/zip/ziparchive/addemptydir.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/ziparchive/addemptydir.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/zip/ziparchive/addemptydir.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 322115 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349281 Maintainer: sammywg Status: ready -->

 <refentry xml:id="ziparchive.addemptydir" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,6 +12,7 @@
   <methodsynopsis>
    <type>bool</type><methodname>ZipArchive::addEmptyDir</methodname>
    <methodparam><type>string</type><parameter>dirname</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    Fügt dem Archiv ein neues Verzeichnis hinzu.
@@ -30,6 +31,19 @@
       </para>
      </listitem>
     </varlistentry>
+    <varlistentry>
+     <term><parameter>flags</parameter></term>
+     <listitem>
+      <para>
+       Eine Bitmaske bestehend aus
+       <constant>ZipArchive::FL_ENC_GUESS</constant>,
+       <constant>ZipArchive::FL_ENC_UTF_8</constant>,
+       <constant>ZipArchive::FL_ENC_CP437</constant>.
+       Das Verhalten dieser Konstanten wird in der
+       <link linkend="zip.constants">ZIP Konstanten</link> Seite beschrieben.
+      </para>
+     </listitem>
+    </varlistentry>
    </variablelist>
   </para>
  </refsect1>
@@ -41,6 +55,30 @@
   </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>8.0.0 / 1.18.0</entry>
+       <entry>
+        <parameter>flags</parameter> wurde hinzugefügt.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>

Modified: phpdoc/de/trunk/reference/zip/ziparchive/addfile.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/ziparchive/addfile.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/zip/ziparchive/addfile.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 340010 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349293 Maintainer: sammywg Status: ready -->

 <refentry xml:id="ziparchive.addfile" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -15,6 +15,7 @@
    <methodparam choice="opt"><type>string</type><parameter>localname</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>start</parameter><initializer>0</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>ZipArchive::FL_OVERWRITE</initializer></methodparam>
   </methodsynopsis>
   <para>
    Fügt eine Datei von einem gegebenen Pfad zu einem ZIP-Archiv hinzu.
@@ -62,6 +63,20 @@
       </para>
      </listitem>
     </varlistentry>
+    <varlistentry>
+     <term><parameter>flags</parameter></term>
+     <listitem>
+      <para>
+       Eine Bitmaske bestehend aus
+       <constant>ZipArchive::FL_OVERWRITE</constant>,
+       <constant>ZipArchive::FL_ENC_GUESS</constant>,
+       <constant>ZipArchive::FL_ENC_UTF_8</constant>,
+       <constant>ZipArchive::FL_ENC_CP437</constant>.
+       Das Verhalten dieser Konstanten wird in der
+       <link linkend="zip.constants">ZIP Konstanten</link> Seite beschrieben.
+      </para>
+     </listitem>
+    </varlistentry>
    </variablelist>
   </para>
  </refsect1>
@@ -73,16 +88,40 @@
   </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>8.0.0 / 1.18.0</entry>
+       <entry>
+        <parameter>flags</parameter> wurde hinzugefügt.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
-    <para>
-     Dieses Beispiel öffnet ein ZIP-Dateiarchiv <filename>test.zip</filename>
-     und fügt die Datei <filename>/pfad/zur/datei.txt</filename> als
-     <filename>neuername.txt</filename> hinzu.
-    </para>
-    <example>
-     <title>Öffnen und hinzufügen</title>
-     <programlisting role="php">
+  <para>
+   Dieses Beispiel öffnet ein ZIP-Dateiarchiv <filename>test.zip</filename>
+   und fügt die Datei <filename>/pfad/zur/datei.txt</filename> als
+   <filename>neuername.txt</filename> hinzu.
+  </para>
+  <example>
+   <title>Öffnen und hinzufügen</title>
+   <programlisting role="php">
 <![CDATA[
 <?php
 $zip = new ZipArchive;
@@ -95,9 +134,10 @@
 }
 ?>
 ]]>
-     </programlisting>
-    </example>
-   </refsect1>
+   </programlisting>
+  </example>
+ </refsect1>
+
  <refsect1 role="notes">
    &reftitle.notes;
    <note>
@@ -112,6 +152,16 @@
      </para>
    </note>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>ZipArchive::replaceFile</methodname></member>
+   </simplelist>
+  </para>
+ </refsect1>
+
 </refentry>



Modified: phpdoc/de/trunk/reference/zip/ziparchive/addfromstring.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/ziparchive/addfromstring.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/zip/ziparchive/addfromstring.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 340010 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 349281 Maintainer: sammywg Status: ready -->

 <refentry xml:id="ziparchive.addfromstring" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -13,6 +13,7 @@
    <type>bool</type><methodname>ZipArchive::addFromString</methodname>
    <methodparam><type>string</type><parameter>localname</parameter></methodparam>
    <methodparam><type>string</type><parameter>contents</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>ZipArchive::FL_OVERWRITE</initializer></methodparam>
   </methodsynopsis>
   <para>
    Fügt eine Datei unter Verwendung ihres Inhalts zu einem ZIP-Archiv hinzu.
@@ -41,6 +42,20 @@
       </para>
      </listitem>
     </varlistentry>
+    <varlistentry>
+     <term><parameter>flags</parameter></term>
+     <listitem>
+      <para>
+       Eine Bitmaske bestehend aus
+       <constant>ZipArchive::FL_OVERWRITE</constant>,
+       <constant>ZipArchive::FL_ENC_GUESS</constant>,
+       <constant>ZipArchive::FL_ENC_UTF_8</constant>,
+       <constant>ZipArchive::FL_ENC_CP437</constant>.
+       Das Verhalten dieser Konstanten wird in der
+       <link linkend="zip.constants">ZIP Konstanten</link> Seite beschrieben.
+      </para>
+     </listitem>
+    </varlistentry>
    </variablelist>
   </para>
  </refsect1>
@@ -52,6 +67,30 @@
   </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>8.0.0 / 1.18.0</entry>
+       <entry>
+        <parameter>flags</parameter> wurde hinzugefügt.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
     <example>

Modified: phpdoc/de/trunk/reference/zip/ziparchive.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/ziparchive.xml	2020-03-08 09:03:19 UTC (rev 349348)
+++ phpdoc/de/trunk/reference/zip/ziparchive.xml	2020-03-08 10:02:12 UTC (rev 349349)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343502 Maintainer: patrickeigensatz Status: ready -->
+<!-- EN-Revision: 349311 Maintainer: patrickeigensatz Status: ready -->

 <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.ziparchive" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>Die <classname>ZipArchive</classname> Klasse</title>
@@ -36,6 +36,7 @@
     </classsynopsisinfo>
 <!-- }}} -->
     <classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
+    <fieldsynopsis><type>int</type><varname linkend="ziparchive.props.lastid">lastId</varname></fieldsynopsis>
     <fieldsynopsis><type>int</type><varname linkend="ziparchive.props.status">status</varname></fieldsynopsis>
     <fieldsynopsis><type>int</type><varname linkend="ziparchive.props.statussys">statusSys</varname></fieldsynopsis>
     <fieldsynopsis><type>int</type><varname linkend="ziparchive.props.numfiles">numFiles</varname></fieldsynopsis>
@@ -55,16 +56,25 @@
   <section xml:id="ziparchive.props">
    &reftitle.properties;
    <variablelist>
+    <varlistentry xml:id="ziparchive.props.lastid">
+     <term><varname>lastId</varname></term>
+     <listitem>
+      <para>Index des zuletzt hinzugefügten Eintrags (Datei oder Verzeichnis).
+      Verfügbar von PHP 8.0.0 und PECL zip 1.18.0 an.</para>
+     </listitem>
+    </varlistentry>
     <varlistentry xml:id="ziparchive.props.status">
      <term><varname>status</varname></term>
      <listitem>
-      <para>Status des Zip-Archives</para>
+      <para>Status des Zip-Archives.
+       Verfügbar für geschlossene Archive von PHP 8.0.0 und PECL zip 1.18.0 an.</para>
      </listitem>
     </varlistentry>
     <varlistentry xml:id="ziparchive.props.statussys">
      <term><varname>statusSys</varname></term>
      <listitem>
-      <para>System Status des Zip-Archives</para>
+      <para>System Status des Zip-Archives.
+      Verfügbar für geschlossene Archive von PHP 8.0.0 und PECL zip 1.18.0 an.</para>
      </listitem>
     </varlistentry>
     <varlistentry xml:id="ziparchive.props.numfiles">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.