svn: /phpdoc/de/trunk/ appendices/reserved.constants.core.xml language/oop5/properties.xml language/oop5.xml language/operators.xml language-snippets.ent reference/array/functions/sort.xml reference/exec/functions/proc-open.xml reference/sqlite3/configure.xml reference/zip/constants.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Sun, 22 Dec 2019 10:33:28 +0000

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

Log:
Sync with EN

Changed paths:
    U   phpdoc/de/trunk/appendices/reserved.constants.core.xml
    U   phpdoc/de/trunk/language/oop5/properties.xml
    U   phpdoc/de/trunk/language/oop5.xml
    U   phpdoc/de/trunk/language/operators.xml
    U   phpdoc/de/trunk/language-snippets.ent
    U   phpdoc/de/trunk/reference/array/functions/sort.xml
    U   phpdoc/de/trunk/reference/exec/functions/proc-open.xml
    U   phpdoc/de/trunk/reference/sqlite3/configure.xml
    U   phpdoc/de/trunk/reference/zip/constants.xml
svn-diffs-348663.txt (text/x-diff, 14 KB)
Modified: phpdoc/de/trunk/appendices/reserved.constants.core.xml
===================================================================
--- phpdoc/de/trunk/appendices/reserved.constants.core.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/appendices/reserved.constants.core.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348296 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348652 Maintainer: nobody Status: ready -->
 <!-- Credits: hholzgra -->

  <sect2 xml:id="reserved.constants.core" xmlns="http://docbook.org/ns/docbook">
@@ -243,7 +243,7 @@
      <listitem>
       <simpara>
        Die kleinste darstellbare <emphasis>positive</emphasis> Fließkommazahl.
-       Um die kleinste darstellbare Fließkommazahl zu erhalten, ist
+       Um die kleinste darstellbare <emphasis>negative</emphasis> Fließkommazahl zu erhalten, ist
        <literal>- PHP_FLOAT_MAX</literal> zu verwenden.
        Verfügbar ab PHP 7.2.0.
       </simpara>
@@ -666,6 +666,30 @@
       </simpara>
      </listitem>
     </varlistentry>
+    <varlistentry xml:id="constant.php-windows-event-ctrl-c">
+     <term>
+      PHP_WINDOWS_EVENT_CTRL_C
+      (<type>integer</type>)
+     </term>
+     <listitem>
+      <simpara>
+       Ein Windows <literal>CTRL+C</literal> Ereignis.
+       Verfügbar von PHP 7.4.0 an.
+      </simpara>
+     </listitem>
+    </varlistentry>
+    <varlistentry xml:id="constant.php-windows-event-ctrl-break">
+     <term>
+      PHP_WINDOWS_EVENT_CTRL_BREAK
+      (<type>integer</type>)
+     </term>
+     <listitem>
+      <simpara>
+       Ein Windows <literal>CTRL+BREAK</literal> Ereignis.
+       Verfügbar von PHP 7.4.0 an.
+      </simpara>
+     </listitem>
+    </varlistentry>
    </variablelist>
    <para>
     Siehe auch: <link linkend="language.constants.predefined">Magische

Modified: phpdoc/de/trunk/language/oop5/properties.xml
===================================================================
--- phpdoc/de/trunk/language/oop5/properties.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/language/oop5/properties.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339448 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 348562 Maintainer: simp Status: ready -->
  <sect1 xml:id="language.oop5.properties" xmlns="http://docbook.org/ns/docbook">
   <title>Eigenschaften</title>

@@ -11,7 +11,7 @@
    dieser Referenz wird der Begriff "Eigenschaften" verwendet.
    Diese werden definiert, indem man eines der Schlüsselwörter
    <literal>public</literal>, <literal>protected</literal>
-   oder <literal>private</literal> gefolgt von einer regulären
+   oder <literal>private</literal>, optional gefolgt von einer Typdeklaration, gefolgt von einer regulären
    Variablendeklaration verwendet. Die Deklaration darf eine
    Initialisierung des Variablenwertes beinhalten, der zu
    setzende Wert muss dabei allerdings ein konstanter Wert
@@ -142,6 +142,46 @@
     Unterstützung für Nowdoc und Heredoc wurde in PHP 5.3.0 hinzugefügt.
    </para>
   </note>
+
+  <para>
+   Von PHP 7.4.0 an können Eigenschaftsdefinitionen eine Typdeklaration enthalten,
+   mit der Ausnahme des <literal>callable</literal> Typs.
+   <example>
+    <title>Beispiel von typisierten Eigenschaften</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+
+class User
+{
+    public int $id;
+    public string $name;
+
+    public function __construct(int $id, string $name)
+    {
+        $this->id = $id;
+        $this->name = $name;
+    }
+}
+
+$user = new User(1234, "php");
+echo "ID: " . $user->id;
+echo "\n";
+echo "Name: " . $user->name;
+
+?>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
+ID: 1234
+Name: php
+]]>
+    </screen>
+   </example>
+  </para>
+
  </sect1>

 <!-- Keep this comment at the end of the file

Modified: phpdoc/de/trunk/language/oop5.xml
===================================================================
--- phpdoc/de/trunk/language/oop5.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/language/oop5.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347043 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 348547 Maintainer: simp Status: ready -->
 <!-- Credits: sammywg -->

  <chapter xml:id="language.oop5" xmlns="http://docbook.org/ns/docbook">
@@ -53,6 +53,7 @@
   &language.oop5.late-static-bindings;
   &language.oop5.references;
   &language.oop5.serialization;
+  &language.oop5.variance;
   &language.oop5.changelog;
 </chapter>


Modified: phpdoc/de/trunk/language/operators.xml
===================================================================
--- phpdoc/de/trunk/language/operators.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/language/operators.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348384 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 348555 Maintainer: nobody Status: ready -->
 <!-- CREDITS: tzwenny, betz -->

  <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook">
@@ -568,12 +568,13 @@
     <para>
      Der <link linkend="language.oop5.basic.new">new</link>-Operator gibt automatisch
      eine Referenz zurück, so dass das Zuweisen des Ergbnisses von
-     <link linkend="language.oop5.basic.new">new</link> per Referenz einen Fehler
-     der Stufe <constant>E_DEPRECATED</constant> von PHP 5.3 an, und der Stufe
-     <constant>E_STRICT</constant> zuvor, auslöst.
+     <link linkend="language.oop5.basic.new">new</link> per Referenz von PHP 7.0.0 an
+     nicht erlaubt ist, von PHP 5.3.0 an einen Fehler
+     der Stufe <constant>E_DEPRECATED</constant>, und in früheren Version einen Fehler der Stufe
+     <constant>E_STRICT</constant>, auslöst.
     </para>
     <para>
-     Beispielsweise wird folgender Code eine Warnung auslösen:
+     Beispielsweise wird folgender Code einen Fehler oder eine Warnung auslösen:
      <informalexample>
       <programlisting role="php">
 <![CDATA[
@@ -580,13 +581,28 @@
 <?php
 class C {}

-/* Folgende Zeile erzeugt die folgende Fehlermeldung:
- * Deprecated: Assigning the return value of new by reference is deprecated in...
- */
 $o = &new C;
 ?>
 ]]>
       </programlisting>
+      &example.outputs.7;
+      <screen>
+<![CDATA[
+Parse error: syntax error, unexpected 'new' (T_NEW) in …
+]]>
+      </screen>
+      &example.outputs.53;
+      <screen>
+<![CDATA[
+Deprecated: Assigning the return value of new by reference is deprecated in …
+]]>
+      </screen>
+      &example.outputs.5;
+      <screen>
+<![CDATA[
+Strict Standards: Assigning the return value of new by reference is deprecated in …
+]]>
+      </screen>
      </informalexample>
     </para>
     <para>

Modified: phpdoc/de/trunk/language-snippets.ent
===================================================================
--- phpdoc/de/trunk/language-snippets.ent	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/language-snippets.ent	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347934 Maintainer: simp Status: wip -->
+<!-- EN-Revision: 348529 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: '>
@@ -2418,9 +2418,17 @@

   <para>
    Eine Konvertierungsanweisung folgt diesem Prototypen:
-   <literal>&#37;[Flags][Weite][.Präzision]Spezifizierer</literal>.
+   <literal>&#37;[ArgNum$][Flags][Weite][.Präzision]Spezifizierer</literal>.
   </para>

+  <formalpara>
+   <title>ArgNum</title>
+   <para>
+    Eine Ganzzahl gefolgt von einem Dollarzeichen <literal>$</literal>, die die
+    Nummer des Arguments angibt, das für die Konversion verwendet werden soll.
+   </para>
+  </formalpara>
+
   <para>
    <table>
     <title>Flags</title>

Modified: phpdoc/de/trunk/reference/array/functions/sort.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/sort.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/reference/array/functions/sort.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344469 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 348593 Maintainer: simp Status: ready -->
 <!-- CREDITS: tom, sammywg, wiesemann, Florian -->

 <refentry xml:id="function.sort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -48,7 +48,8 @@
        <itemizedlist>
         <listitem>
          <simpara><constant>SORT_REGULAR</constant> - vergleiche Einträge
-         normal (ohne die Typen zu ändern)</simpara>
+         normal; Details sind dem Abschnitt über
+         <link linkend="language.operators.comparison">Vergleichsoperatoren</link> zu entnehmen</simpara>
         </listitem>
         <listitem>
          <simpara><constant>SORT_NUMERIC</constant> - vergleiche Einträge
@@ -209,7 +210,8 @@
    <simpara>
     Seien Sie vorsichtig bei der Sortierung von Arrays mit
     unterschiedlichen Typen, weil <function>sort</function>
-    zu unvorhersehbaren Ergebnissen kommen kann.
+    unerwartete Ergebnisse liefern kann,
+    wenn <parameter>sort_flags</parameter> <constant>SORT_REGULAR</constant> ist.
    </simpara>
   </warning>
  </refsect1>

Modified: phpdoc/de/trunk/reference/exec/functions/proc-open.xml
===================================================================
--- phpdoc/de/trunk/reference/exec/functions/proc-open.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/reference/exec/functions/proc-open.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348389 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 348652 Maintainer: sammywg Status: ready -->
 <refentry xml:id='function.proc-open' xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>proc_open</refname>
@@ -144,6 +144,10 @@
          <literal>blocking_pipes</literal> (nur unter Windows): erzwingt
          blockierende Pipes, wenn der Wert auf &true; gesetzt wurde.
         </member>
+        <member>
+         <literal>create_process_group</literal> (nur unter Windows): ermöglicht dem Kindprozess
+         <literal>CTRL</literal> Ereignisse zu behandeln, wenn der Wert auf &true; gesetzt wurde.
+        </member>
        </simplelist>
       </para>
      </listitem>
@@ -174,6 +178,13 @@
      </thead>
      <tbody>
       <row>
+       <entry>7.4.0</entry>
+       <entry>
+        Die Option <literal>create_process_group</literal> wurde dem Parameter
+        <parameter>other_options</parameter> hinzugefügt.
+       </entry>
+      </row>
+      <row>
        <entry>7.0.0</entry>
        <entry>
         Die Option <literal>blocking_pipes</literal> wurde dem Parameter

Modified: phpdoc/de/trunk/reference/sqlite3/configure.xml
===================================================================
--- phpdoc/de/trunk/reference/sqlite3/configure.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/reference/sqlite3/configure.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: lapistano Status: ready -->
+<!-- EN-Revision: 348532 Maintainer: lapistano Status: ready -->
 <section xml:id="sqlite3.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  &reftitle.install;
  <!-- There are various PECL related entities in language-snippets.ent -->
@@ -15,7 +15,13 @@
   mit den Windows-Distributionen von PHP (seit PHP 5.3.0) ausgeliefert.
  </para>
  <note>
+  <title>Zusätzliche Einrichtung für Windows von PHP 7.4.0 an</title>
   <para>
+   &ext.windows.path.dll; <filename>libsqlite3.dll</filename>.
+  </para>
+ </note>
+ <note>
+  <para>
    Diese Erweiterung war kurzzeitig eine <acronym>PECL</acronym>-Erweiterung,
    aber diese Version ist nur für den experimentellen Einsatz.
   </para>

Modified: phpdoc/de/trunk/reference/zip/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/zip/constants.xml	2019-12-22 05:54:51 UTC (rev 348662)
+++ phpdoc/de/trunk/reference/zip/constants.xml	2019-12-22 10:33:28 UTC (rev 348663)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344995 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 348618 Maintainer: hholzgra Status: ready -->
 <!-- Credits: jakoch -->

 <appendix xml:id="zip.constants" xmlns="http://docbook.org/ns/docbook">
@@ -571,7 +571,8 @@
    </term>
    <listitem>
     <simpara>
-     Keine Verschlüsselung; seit PHP 7.2.0, PECL zip 1.14.0
+     Keine Verschlüsselung. Verfügbar von PHP 7.2.0 bzw. PECL zip 1.14.0 an,
+     wenn mit libzip ≥ 1.2.0 kompiliert.
     </simpara>
    </listitem>
   </varlistentry>
@@ -581,7 +582,8 @@
    </term>
    <listitem>
     <simpara>
-     AES 128 Verschlüsselung; seit PHP 7.2.0, PECL zip 1.14.0
+     AES 128 Verschlüsselung. Verfügbar von PHP 7.2.0 bzw. PECL zip 1.14.0 an,
+     wenn mit libzip ≥ 1.2.0 kompiliert.
     </simpara>
    </listitem>
   </varlistentry>
@@ -591,7 +593,8 @@
    </term>
    <listitem>
     <simpara>
-     AES 1192 Verschlüsselung; seit PHP 7.2.0, PECL zip 1.14.0
+     AES 192 Verschlüsselung. Verfügbar von PHP 7.2.0 bzw. PECL zip 1.14.0 an,
+     wenn mit libzip ≥ 1.2.0 kompiliert.
     </simpara>
    </listitem>
   </varlistentry>
@@ -601,7 +604,8 @@
    </term>
    <listitem>
     <simpara>
-     AES 256 Verschlüsselung, seit PHP 7.2.0, PECL zip 1.14.0
+     AES 256 Verschlüsselung. Verfügbar von PHP 7.2.0 bzw. PECL zip 1.14.0 an,
+     wenn mit libzip ≥ 1.2.0 kompiliert.
     </simpara>
    </listitem>
   </varlistentry>
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.