svn: /phpdoc/de/trunk/reference/strings/functions/ echo.xml explode.xml htmlentities.xml nl2br.xml number-format.xml rtrim.xml setlocale.xml sscanf.xml str-ireplace.xml strip-tags.xml strspn.xml substr-compare.xml substr-replace.xml wordwrap.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Wed, 18 Apr 2018 14:39:51 +0000

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

Log:
Sync with EN

Changed paths:
    U   phpdoc/de/trunk/reference/strings/functions/echo.xml
    U   phpdoc/de/trunk/reference/strings/functions/explode.xml
    U   phpdoc/de/trunk/reference/strings/functions/htmlentities.xml
    U   phpdoc/de/trunk/reference/strings/functions/nl2br.xml
    U   phpdoc/de/trunk/reference/strings/functions/number-format.xml
    U   phpdoc/de/trunk/reference/strings/functions/rtrim.xml
    U   phpdoc/de/trunk/reference/strings/functions/setlocale.xml
    U   phpdoc/de/trunk/reference/strings/functions/sscanf.xml
    U   phpdoc/de/trunk/reference/strings/functions/str-ireplace.xml
    U   phpdoc/de/trunk/reference/strings/functions/strip-tags.xml
    U   phpdoc/de/trunk/reference/strings/functions/strspn.xml
    U   phpdoc/de/trunk/reference/strings/functions/substr-compare.xml
    U   phpdoc/de/trunk/reference/strings/functions/substr-replace.xml
    U   phpdoc/de/trunk/reference/strings/functions/wordwrap.xml
svn-diffs-344711.txt (text/x-diff, 20.9 KB)
Modified: phpdoc/de/trunk/reference/strings/functions/echo.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/echo.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/echo.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 327507 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 342214 Maintainer: sammywg Status: ready -->

 <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.echo">
  <refnamediv>
@@ -16,7 +16,7 @@
    <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
   </methodsynopsis>
   <simpara>
-    Gibt alle Parameter aus.
+    Gibt alle Parameter aus. Es wird kein zusätzlicher Zeilenumbruch angehängt.
   </simpara>
   <para>
    <literal>echo</literal> ist nicht wirklich eine Funktion sondern
@@ -41,6 +41,11 @@
     </programlisting>
    </informalexample>
   </para>
+  <para>
+   Der Hauptunterschied zu <literal>print</literal> ist, dass
+   <literal>echo</literal> eine Liste von Argumenten entgegennimmt, und keinen
+   Rückgabewert hat.
+  </para>
  </refsect1>

  <refsect1 role="parameters">
@@ -111,8 +116,8 @@
 echo $foo;          // foobar
 echo $foo,$bar;     // foobarbarbaz

-// Einige Programmierer bevorzugen es, mehrere Parameter
-// mithilfe von Stringverkettung auszugeben
+// Zeichenketten können entweder individuell als mehrere Argumente oder
+// miteinander verbunden als einzelnes Argument übergeben werden
 echo 'Dieser ', 'String ', 'besteht ', 'aus ', 'mehreren Parametern.', chr(10);
 echo 'Dieser  ' . 'String ' . 'wurde ' . 'mit ' . 'Stringverkettung erzeugt.' . "\n";

@@ -141,6 +146,34 @@
  <refsect1 role="notes">
   &reftitle.notes;
   &note.language-construct;
+  <tip>
+   <para>
+    Ein Vorteil beim Übergeben mehrerer Argumente gegenüber der Verwendung von
+    Zeichenkettenverknüpfung in <function>echo</function> betrifft die Rangfolge
+    des Punkt-Operators in PHP. Werden mehrere Argumente übergeben, dann sind
+    die Klammern nicht nötig, um die richtige Rangfolge zu gewährleisten:
+   </para>
+   <programlisting role="php">
+<![CDATA[
+<?php
+echo "Summe: ", 1 + 2;
+echo "Hallo ", isset($name) ? $name : "Max Mustermann", "!";
+]]>
+   </programlisting>
+
+   <para>
+    Im Fall von Zeichenkettenverknüpfung hat der Punkt-Operator eine höhere
+    Rangfolge als Addition und der ternäre Operator, so dass für das korrekte
+    Verhalten Klammern verwendet werden müssen:
+   </para>
+   <programlisting role="php">
+<![CDATA[
+<?php
+echo 'Summe: ' . (1 + 2);
+echo 'Hallo ' . (isset($name) ? $name : 'Max Mustermann') . '!';
+]]>
+   </programlisting>
+  </tip>
  </refsect1>

  <refsect1 role="seealso">

Modified: phpdoc/de/trunk/reference/strings/functions/explode.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/explode.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/explode.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334592 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 344469 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.explode">
  <refnamediv>
   <refname>explode</refname>
-  <refpurpose>Teilt einen String anhand einer Zeichenkette</refpurpose>
+  <refpurpose>Teilt eine Zeichenkette anhand einer Zeichenkette</refpurpose>
  </refnamediv>

  <refsect1 role="description">
@@ -14,7 +14,7 @@
    <type>array</type><methodname>explode</methodname>
    <methodparam><type>string</type><parameter>delimiter</parameter></methodparam>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>limit</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>limit</parameter><initializer>PHP_INT_MAX</initializer></methodparam>
   </methodsynopsis>
   <para>
    Gibt ein Array aus Strings zurück, die jeweils Teil von
@@ -158,8 +158,10 @@
 */
 $input1 = "hallo";
 $input2 = "hallo,da";
+$input3 = ',';
 var_dump( explode( ',', $input1 ) );
 var_dump( explode( ',', $input2 ) );
+var_dump( explode( ',', $input3 ) );

 ?>
 ]]>
@@ -176,6 +178,11 @@
     [0] => string(5) "hallo"
     [1] => string(5) "da"
 )
+array(2)
+(
+    [0] => string(0) ""
+    [1] => string(0) ""
+)
 ]]>
     </screen>
    </example>

Modified: phpdoc/de/trunk/reference/strings/functions/htmlentities.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/htmlentities.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/htmlentities.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334627 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.htmlentities" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>htmlentities</refname>
@@ -14,7 +15,7 @@
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>ENT_COMPAT | ENT_HTML401</initializer></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>ini_get("default_charset")</initializer></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>double_encode</parameter><initializer>true</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>double_encode</parameter><initializer>&true;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Die Funktion ist komplett identisch zu <function>htmlspecialchars</function>,

Modified: phpdoc/de/trunk/reference/strings/functions/nl2br.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/nl2br.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/nl2br.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336339 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.nl2br">
  <refnamediv>
@@ -13,11 +13,11 @@
   <methodsynopsis>
    <type>string</type><methodname>nl2br</methodname>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>is_xhtml</parameter><initializer>true</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>is_xhtml</parameter><initializer>&true;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Gibt den <parameter>string</parameter> mit einem vor allen
-   Neue-Zeile-Zeichen eingefügten '&lt;br /&gt;' oder '&lt;br&gt;' zurück
+   Neue-Zeile-Zeichen eingefügten <code>&lt;br /&gt;</code> oder <code>&lt;br&gt;</code> zurück
    (<literal>\r\n</literal>, <literal>\n\r</literal>, <literal>\n</literal>
    und <literal>\r</literal>).
   </para>

Modified: phpdoc/de/trunk/reference/strings/functions/number-format.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/number-format.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/number-format.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 333317 Maintainer: simp Status: ready -->
+<!-- EN-Revision: 344709 Maintainer: simp Status: ready -->
 <!-- Credits: sammywg -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.number-format" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -108,6 +108,15 @@
      </thead>
      <tbody>
       <row>
+       <entry>7.2.0</entry>
+       <entry>
+        <function>number_format</function> wurde geändert, so dass es nicht mehr
+        <literal>-0</literal> zurückgeben kann; zuvor konnte <literal>-0</literal>
+        zurückgegeben werden, z.B. wenn <parameter>number</parameter> gleich
+        <literal>-0.01</literal> war.
+       </entry>
+      </row>
+      <row>
        <entry>5.4.0</entry>
        <entry>
         In <parameter>dec_point</parameter> und <parameter>thousands_sep</parameter>
@@ -129,8 +138,8 @@
     <para>
      Beispielsweise notiert man in Frankreich normalerweise zwei
      Dezimalstellen mit einem Komma (',') als Trennzeichen sowie ein
-     Leerzeichen (' ') zur Gruppierung der Tausender. Das kann durch folgende
-     Zeile erreicht werden:
+     Leerzeichen (' ') zur Gruppierung der Tausender. Das folgende Beispiel
+     zeigt verschiedene Varianten eine Zahl zu formatieren:
     </para>
     <programlisting role="php">
 <![CDATA[

Modified: phpdoc/de/trunk/reference/strings/functions/rtrim.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/rtrim.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/rtrim.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 339765 Maintainer: sammywg Status: ready -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.rtrim">
  <refnamediv>
   <refname>rtrim</refname>
@@ -16,7 +17,7 @@
   </methodsynopsis>
   <para>
    Diese Funktion gibt den String <parameter>str</parameter> zurück, von
-   dessen Ende alle Whitespaces entfernt wurden.
+   dessen Ende alle Whitespaces (oder andere Zeichen) entfernt wurden.
   </para>
   <para>
    Ohne den zweiten Parameter entfernt <function>rtrim</function> diese Zeichen:

Modified: phpdoc/de/trunk/reference/strings/functions/setlocale.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/setlocale.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/setlocale.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336805 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 341282 Maintainer: sammywg Status: ready -->

 <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.setlocale">
  <refnamediv>
@@ -196,7 +196,7 @@
 /* Ausgabe: vrijdag 22 december 1978 */
 echo strftime ("%A %e %B %Y", mktime (0, 0, 0, 12, 22, 1978));

-/* versuche verschiedene mögliche locale Namen für Deutsch ab PHP 4.3.0 */
+/* versuche verschiedene mögliche locale Namen für Deutsch */
 $loc_de = setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
 echo "Preferred locale for german on this system is '$loc_de'";
 ?>

Modified: phpdoc/de/trunk/reference/strings/functions/sscanf.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/sscanf.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/sscanf.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 324696 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 342425 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sscanf" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -66,6 +66,9 @@
         <member>
          <literal>n</literal> steht für die Anzahl der bisher prozessierten Zeichen.
         </member>
+        <member>
+         <literal>s</literal> beendet das Lesen am ersten Whitespace-Zeichen.
+        </member>
        </simplelist>
       </para>
      </listitem>

Modified: phpdoc/de/trunk/reference/strings/functions/str-ireplace.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/str-ireplace.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/str-ireplace.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334621 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343888 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.str-ireplace">
  <refnamediv>
@@ -113,6 +113,7 @@
 <![CDATA[
 <?php
 $bodytag = str_ireplace("%body%", "schwarz", "<body text=%BODY%>");
+echo $bodytag; // <body text=black>
 ?>
 ]]>
     </programlisting>

Modified: phpdoc/de/trunk/reference/strings/functions/strip-tags.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strip-tags.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/strip-tags.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 335964 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 338915 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strip-tags">
  <refnamediv>
@@ -52,26 +52,17 @@
       </note>
       <note>
        <para>
-         Dieser Parameter sollte keine Leerzeichen enthalten.
-         <function>strip_tags</function> sieht als Tag eine von Groß- und
-         Kleinschreibung unabhängige Zeichenkette
-         zwischen<literal>&lt;</literal> und dem ersten Leerzeichen
-         oder <literal>&gt;</literal>.
+        In PHP 5.3.4 und neuer werden selbst-schließende XHTML-Tags ignoriert,
+        und nur nicht-selbst-schließende Tags sollten in <parameter>allowable_tags</parameter>
+        verwendet werden. Um beispielsweise sowohl <literal>&lt;br;&gt;</literal>
+        als auch <literal>&lt;br/&gt;</literal> zu erlauben, sollte folgendes
+        verwendet werden:
        </para>
-      </note>
-      <note>
-       <para>
-        In PHP 5.3.4 und neuer muss auch der selbst-schließende XHTML Tag
-        angegeben werden, um diesen nicht aus <parameter>str</parameter> zu entfernen.
-        Um zum Beispiel sowohl <literal>&lt;br;&gt;</literal> als auch
-        <literal>&lt;br/&gt;</literal> nicht zu entfernen, sollte folgendes verwendet
-        werden:
-       </para>
        <informalexample>
         <programlisting role="php">
 <![CDATA[
 <?php
-strip_tags($input, '<br><br/>');
+strip_tags($input, '<br>');
 ?>
 ]]>
         </programlisting>
@@ -105,8 +96,8 @@
       <row>
        <entry>5.3.4</entry>
        <entry>
-        <function>strip_tags</function> entfernt nicht länger selbst-schließende
-        XHTML Tags, außer wenn der selbst-schließende XHTML Tag ebenfalls im
+        <function>strip_tags</function> ignoriert selbst-schließende
+        XHTML Tags im
         <parameter>allowable_tags</parameter> angegeben wird.
        </entry>
       </row>

Modified: phpdoc/de/trunk/reference/strings/functions/strspn.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/strspn.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/strspn.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 335494 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343888 Maintainer: sammywg Status: ready -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strspn">
  <refnamediv>
   <refname>strspn</refname>
@@ -7,7 +8,7 @@
   <refpurpose>
    Ermittelt die Länge des initialen Abschnitts einer Zeichenkette, der
    ausschließlich aus Zeichen besteht, die in einer übergebenen Maske
-   enthalten sind.
+   enthalten sind
   </refpurpose>
  </refnamediv>

@@ -126,6 +127,13 @@
    zurück, der vollständig aus in <parameter>mask</parameter> angegebenen
    Zeichen besteht.
   </para>
+  <note>
+   <para>
+    Wird der <parameter>start</parameter> Parameter angegeben, dann zählt die
+    zurückgegebene Länge von dieser Position, nicht vom Anfang von
+    <parameter>subject</parameter>.
+   </para>
+  </note>
  </refsect1>

  <refsect1 role="examples">

Modified: phpdoc/de/trunk/reference/strings/functions/substr-compare.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/substr-compare.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/substr-compare.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334762 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.substr-compare">
  <refnamediv>
@@ -17,7 +17,7 @@
    <methodparam><type>string</type><parameter>str</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>case_insensitivity</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>case_insensitivity</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>substr_compare</function> vergleicht <parameter>main_str</parameter>
@@ -93,7 +93,7 @@
    länger ist als <parameter>str</parameter>, und 0, wenn sie gleich sind.
    Wenn der Parameter <parameter>offset</parameter> gesetzt und gleich oder
    größer als die Länge von <parameter>main_str</parameter> ist oder
-   <parameter>length</parameter> gesetzt und kleiner als 1 ist (vor PHP 5.6), gibt <function>substr_compare</function>
+   <parameter>length</parameter> gesetzt und kleiner als 1 ist (vor PHP 5.5.11), gibt <function>substr_compare</function>
    eine Warnung aus und hat den Rückgabewert &false;.
   </para>
  </refsect1>
@@ -111,7 +111,7 @@
      </thead>
      <tbody>
       <row>
-       <entry>5.6.0</entry>
+       <entry>5.5.11</entry>
        <entry>
         <parameter>length</parameter> kann nun <literal>0</literal> sein.
        </entry>

Modified: phpdoc/de/trunk/reference/strings/functions/substr-replace.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/substr-replace.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/substr-replace.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334621 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 342063 Maintainer: sammywg Status: ready -->
+
 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.substr-replace">
  <refnamediv>
   <refname>substr_replace</refname>
@@ -59,7 +60,7 @@
      <term><parameter>start</parameter></term>
      <listitem>
       <para>
-       Ist <parameter>start</parameter> positiv, beginnt die Ersetzung ab der
+       Ist <parameter>start</parameter> nicht negativ, beginnt die Ersetzung ab der
        im Offset-Parameter <parameter>start</parameter> definierten Stelle
        innerhalb von <parameter>string</parameter>.
       </para>

Modified: phpdoc/de/trunk/reference/strings/functions/wordwrap.xml
===================================================================
--- phpdoc/de/trunk/reference/strings/functions/wordwrap.xml	2018-04-18 14:35:13 UTC (rev 344710)
+++ phpdoc/de/trunk/reference/strings/functions/wordwrap.xml	2018-04-18 14:39:51 UTC (rev 344711)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336762 Maintainer: sammywg Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: sammywg Status: ready -->

 <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.wordwrap">
  <refnamediv>
@@ -15,7 +15,7 @@
    <methodparam><type>string</type><parameter>str</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>width</parameter><initializer>75</initializer></methodparam>
    <methodparam choice="opt"><type>string</type><parameter>break</parameter><initializer>"\n"</initializer></methodparam>
-   <methodparam choice="opt"><type>bool</type><parameter>cut</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>cut</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Bricht einen String nach einer bestimmten Anzahl Zeichen mittels eines
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.