svn: /phpdoc/de/trunk/reference/array/functions/ array-chunk.xml array-diff-key.xml array-diff.xml array-keys.xml array-rand.xml array-reverse.xml array-search.xml array-slice.xml array-unique.xml array-walk.xml count.xml each.xml extract.xml next.xml prev.xml reset.xml shuffle.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Sun, 28 Jan 2018 14:04:13 +0000

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

Log:
Sync with EN

Changed paths:
    U   phpdoc/de/trunk/reference/array/functions/array-chunk.xml
    U   phpdoc/de/trunk/reference/array/functions/array-diff-key.xml
    U   phpdoc/de/trunk/reference/array/functions/array-diff.xml
    U   phpdoc/de/trunk/reference/array/functions/array-keys.xml
    U   phpdoc/de/trunk/reference/array/functions/array-rand.xml
    U   phpdoc/de/trunk/reference/array/functions/array-reverse.xml
    U   phpdoc/de/trunk/reference/array/functions/array-search.xml
    U   phpdoc/de/trunk/reference/array/functions/array-slice.xml
    U   phpdoc/de/trunk/reference/array/functions/array-unique.xml
    U   phpdoc/de/trunk/reference/array/functions/array-walk.xml
    U   phpdoc/de/trunk/reference/array/functions/count.xml
    U   phpdoc/de/trunk/reference/array/functions/each.xml
    U   phpdoc/de/trunk/reference/array/functions/extract.xml
    U   phpdoc/de/trunk/reference/array/functions/next.xml
    U   phpdoc/de/trunk/reference/array/functions/prev.xml
    U   phpdoc/de/trunk/reference/array/functions/reset.xml
    U   phpdoc/de/trunk/reference/array/functions/shuffle.xml
svn-diffs-344007.txt (text/x-diff, 20.7 KB)
Modified: phpdoc/de/trunk/reference/array/functions/array-chunk.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-chunk.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-chunk.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 331964 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-chunk" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -14,7 +14,7 @@
    <type>array</type><methodname>array_chunk</methodname>
    <methodparam><type>array</type><parameter>array</parameter></methodparam>
    <methodparam><type>int</type><parameter>size</parameter></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>array_chunk</function> teilt das Array in Arrays

Modified: phpdoc/de/trunk/reference/array/functions/array-diff-key.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-diff-key.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-diff-key.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 342691 Maintainer: simp Status: ready -->
 <refentry xml:id="function.array-diff-key" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>array_diff_key</refname>
@@ -91,8 +91,8 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-$array1 = array('blau'  => 1, 'rot'  => 2, 'grün'  => 3, 'violett' => 4);
-$array2 = array('grün' => 5, 'blau' => 6, 'gelb' => 7, 'türkis'   => 8);
+$array1 = array('blau' => 1, 'rot' => 2, 'grün' => 3, 'violett' => 4);
+$array2 = array('grün' => 5, 'gelb' => 7, 'türkis' => 8);

 var_dump(array_diff_key($array1, $array2));
 ?>
@@ -101,6 +101,30 @@
     &example.outputs;
     <screen>
 <![CDATA[
+array(3) {
+  ["blau"]=>
+  int(1)
+  ["rot"]=>
+  int(2)
+  ["violett"]=>
+  int(4)
+}
+]]>
+    </screen>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$array1 = array('blau' => 1, 'rot' => 2, 'grün' => 3, 'violett' => 4);
+$array2 = array('grün' => 5, 'gelb' => 7, 'türkis' => 8);
+$array3 = array('blau' => 6, 'gelb' => 7, 'blasslila' => 8);
+
+var_dump(array_diff_key($array1, $array2, $array3));
+?>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
 array(2) {
   ["rot"]=>
   int(2)

Modified: phpdoc/de/trunk/reference/array/functions/array-diff.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-diff.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-diff.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 332625 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 341915 Maintainer: simp Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-diff" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/de/trunk/reference/array/functions/array-keys.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-keys.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-keys.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 341135 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-keys">
  <refnamediv>
@@ -13,8 +13,8 @@
   <methodsynopsis>
    <type>array</type><methodname>array_keys</methodname>
    <methodparam><type>array</type><parameter>array</parameter></methodparam>
-   <methodparam choice="opt"><type>mixed</type><parameter>search_value</parameter><initializer>null</initializer></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>strict</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>mixed</type><parameter>search_value</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>strict</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>array_keys</function> gibt die Schlüssel (numerisch und als

Modified: phpdoc/de/trunk/reference/array/functions/array-rand.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-rand.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-rand.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339348 Maintainer: gerdtsteltner Status: ready -->
+<!-- EN-Revision: 341936 Maintainer: gerdtsteltner Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-rand" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>

Modified: phpdoc/de/trunk/reference/array/functions/array-reverse.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-reverse.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-reverse.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334592 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-reverse" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,7 +12,7 @@
   <methodsynopsis>
    <type>array</type><methodname>array_reverse</methodname>
    <methodparam><type>array</type><parameter>array</parameter></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Ausgehend vom Eingabe-Array <parameter>array</parameter> wird ein

Modified: phpdoc/de/trunk/reference/array/functions/array-search.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-search.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-search.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339703 Maintainer: gerdtsteltner Status: ready -->
+<!-- EN-Revision: 341282 Maintainer: gerdtsteltner Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-search" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -101,13 +101,6 @@
          wenn ungültige Parameter übergeben wurden.
         </entry>
       </row>
-      <row>
-       <entry>4.2.0</entry>
-       <entry>
-        Vor PHP 4.2.0 gibt <function>array_search</function> im Fehlerfall
-        &null; statt &false; zurück.
-       </entry>
-      </row>
      </tbody>
     </tgroup>
    </informaltable>

Modified: phpdoc/de/trunk/reference/array/functions/array-slice.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-slice.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-slice.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339703 Maintainer: gerdtsteltner Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: gerdtsteltner Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-slice" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -14,7 +14,7 @@
    <methodparam><type>array</type><parameter>array</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>preserve_keys</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>array_slice</function> liefert die mittels

Modified: phpdoc/de/trunk/reference/array/functions/array-unique.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-unique.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-unique.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334426 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 342752 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-unique" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -20,12 +20,10 @@
    zurück, aus dem alle doppelten Einträge entfernt wurden.
   </para>
   <para>
-   Beachten Sie, dass Schlüssel bewahrt bleiben. Erst behandelt
-   <function>array_unique</function> die Werte als Strings und sortiert
-   sie, danach wird der erste gefundene Schlüssel behalten, und alle
-   folgenden Schlüssel ignoriert. Das heißt nicht, dass der Schlüssel
-   des ersten zugehörigen Wertes aus dem unsortierten
-   <parameter>array</parameter> behalten wird.
+   Beachten Sie, dass Schlüssel bewahrt bleiben.
+   Werden mehrere Elemente gemäß den angegebenen <parameter>sort_flags</parameter>
+   als gleich interpretiert, dann werden Schlüssel und Wert des ersten gleichen
+   Elements bewahrt.
   </para>
   <note>
    <simpara>

Modified: phpdoc/de/trunk/reference/array/functions/array-walk.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/array-walk.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/array-walk.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334705 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 342934 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.array-walk" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -97,8 +97,11 @@
  <refsect1 role="errors">
   &reftitle.errors;
   <para>
-   Sollte die Funktion <parameter>callback</parameter> mehr als die
-   ihr übergebenen Parameter benötigen, wird bei jedem Aufruf von
+   Von PHP 7.1.0 an wird ein <classname>ArgumentCountError</classname>
+   ausgelöst, wenn die <parameter>callback</parameter>-Funktion mehr als 2
+   Parameter benötigt (der Wert und Schlüssel des Array-Elements).
+   Zuvor wurde, falls die <parameter>callback</parameter>-Funktion mehr als 2
+   Parameter benötigte, bei jedem Aufruf von
    <parameter>callback</parameter> durch <function>array_walk</function>
    eine Fehlermeldung der Stufe <link linkend="errorfunc.constants">
    E_WARNING</link> generiert.

Modified: phpdoc/de/trunk/reference/array/functions/count.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/count.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/count.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 342677 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 343711 Maintainer: cmb Status: ready -->
 <!-- CREDITS: tom, jumpa -->

 <refentry xml:id="function.count" xmlns="http://docbook.org/ns/docbook">
@@ -103,23 +103,32 @@
 $a[0] = 1;
 $a[1] = 3;
 $a[2] = 5;
-$result = count($a);
-//$result == 3
+var_dump(count($a));

 $b[0] = 7;
 $b[5] = 9;
 $b[10] = 11;
-$result = count($b);
-// $result == 3
+var_dump(count($b));

-$result = count(null);
-// $result == 0
+var_dump(count(null));

-$result = count(false);
-// $result == 1
+var_dump(count(false));
 ?>
 ]]>
     </programlisting>
+    &example.outputs;
+    <screen role="php">
+<![CDATA[
+int(3)
+int(3)
+
+Warning: count(): Parameter must be an array or an object that implements Countable in … on line 12 // as of PHP 7.2
+int(0)
+
+Warning: count(): Parameter must be an array or an object that implements Countable in … on line 14 // as of PHP 7.2
+int(1)
+]]>
+    </screen>
    </example>
   </para>
   <para>
@@ -144,6 +153,30 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>7.2.0</entry>
+      <entry>
+       <function>count</function> erzeugt nun eine Warnung für ungültige
+       zählbare Typen, die an den
+       <parameter>array_or_countable</parameter>-Parameter übergeben wurden.
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Modified: phpdoc/de/trunk/reference/array/functions/each.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/each.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/each.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336240 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 342126 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.each" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/de/trunk/reference/array/functions/extract.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/extract.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/extract.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 337660 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343853 Maintainer: wiesemann Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.extract" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -24,6 +24,13 @@
    ergibt, und auch auf eventuelle Kollisionen mit existierenden
    Variablen in der Symboltabelle.
   </para>
+  <warning>
+   <para>
+    Verwenden Sie <function>extract</function> nicht für nicht vertrauenswürdige
+    Daten wie Benutzereingaben (z.B. <varname>$_GET</varname>,
+    <varname>$_FILES</varname>).
+   </para>
+  </warning>
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;

Modified: phpdoc/de/trunk/reference/array/functions/next.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/next.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/next.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 342152 Maintainer: cmb Status: ready -->
+<!-- EN-Revision: 344002 Maintainer: cmb Status: ready -->
 <!-- CREDITS: tom -->

 <refentry xml:id="function.next" xmlns="http://docbook.org/ns/docbook">
@@ -73,13 +73,18 @@

  <refsect1 role="notes">
   &reftitle.notes;
-   <note>
-     <simpara>
-       Es ist nicht möglich, das Ende eines Arrays von einem <type>boolean</type>
-       &false;-Wert zu unterscheiden. Um ein Array, das &false;-Elemente beinhalten könnte,
-       korrekt zu durchlaufen werfen Sie bitte einen Blick auf die <function>each</function>-
-       Funktion.
-     </simpara>
+  <note>
+   <simpara>
+    Das Ende eines Arrays ist von einem <type>boolean</type> &false; Element
+    nicht zu unterscheiden. Um ein Array, das möglicherweise &false; Elemente
+    enthält, ordnungsgemäß zu durchlaufen, kann <function>foreach</function>
+    verwendet werden.
+   </simpara>
+   <simpara>
+    Um dennoch <function>next</function> verwenden zu können, und ordnungsgemäß
+    zu prüfen, ob das Ende des Arrays erreicht wurde, sollte geprüft werden, ob
+    der <function>key</function> &null; ist.
+   </simpara>
    </note>
  </refsect1>


Modified: phpdoc/de/trunk/reference/array/functions/prev.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/prev.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/prev.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: nikic Status: ready -->
+<!-- EN-Revision: 344002 Maintainer: nikic Status: ready -->
 <!-- CREDITS: tom -->
 <refentry xml:id="function.prev" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -45,6 +45,7 @@
    interne Zeiger gerade zeigt. Sind keine Elemente mehr vorhanden,
    wird &false; zurückgegeben.
   </para>
+  &return.falseproblem;
  </refsect1>

  <refsect1 role="examples">
@@ -70,13 +71,12 @@

  <refsect1 role="notes">
   &reftitle.notes;
-  &return.falseproblem;
   <note>
    <simpara>
     Es ist nicht möglich, den Anfang eines Arrays von einem <type>boolean</type>
-    &false;-Wert zu unterscheiden. Um ein Array, das &false;-Elemente beinhalten könnte,
-    korrekt zu durchlaufen werfen Sie bitte einen Blick auf die <function>each</function>-
-    Funktion.
+    &false;-Wert zu unterscheiden. Dieser Fall kann unterschieden werden, indem
+    geprüft wird, dass der <function>key</function> des <function>prev</function>
+    Elements nicht &null; ist.
    </simpara>
   </note>
  </refsect1>

Modified: phpdoc/de/trunk/reference/array/functions/reset.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/reset.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/reset.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 343965 Maintainer: hholzgra Status: ready -->
 <!-- CREDITS: tom, simp -->
 <refentry xml:id="function.reset" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -40,6 +40,7 @@
    Gibt das erste Element des Arrays zurück oder &false; wenn das
    Array leer ist.
   </para>
+  &return.falseproblem;
  </refsect1>
  <refsect1 role="examples">
   &reftitle.examples;
@@ -70,6 +71,20 @@
    </example>
   </para>
  </refsect1>
+ <refsect1 role="notes">
+  &reftitle.notes;
+  <note>
+   <simpara>
+    Der Rückgabewert für ein leeres Array ist nicht vom Rückgabewert eines
+    Arrays, das ein <type>boolean</type> &false; als erstes Element hat, zu
+    unterscheiden. Um den Wert des ersten Elements eines Arrays, das &false;
+    Elemente enthalten kann, ordnungsgemäß zu prüfen, ist zunächst der
+    <function>count</function> des Arrays, zu prüfen, oder dass
+    <function>key</function> nicht &null; ist, nachdem
+    <function>reset</function> aufgerufen wurde.
+   </simpara>
+  </note>
+ </refsect1>
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Modified: phpdoc/de/trunk/reference/array/functions/shuffle.xml
===================================================================
--- phpdoc/de/trunk/reference/array/functions/shuffle.xml	2018-01-28 13:32:11 UTC (rev 344006)
+++ phpdoc/de/trunk/reference/array/functions/shuffle.xml	2018-01-28 14:04:13 UTC (rev 344007)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 339490 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 341933 Maintainer: hholzgra Status: ready -->
 <!-- CREDITS: tom, simp -->
 <refentry xml:id="function.shuffle" xmlns="http://docbook.org/ns/docbook"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
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.