svn: /phpdoc/de/trunk/language/control-structures/ declare.xml elseif.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Mon, 30 Oct 2017 16:09:06 +0000

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

Log:
Sync with EN

--
Provided by anonymous 87093 ([email protected])

Changed paths:
    U   phpdoc/de/trunk/language/control-structures/declare.xml
    U   phpdoc/de/trunk/language/control-structures/elseif.xml

Modified: phpdoc/de/trunk/language/control-structures/declare.xml
===================================================================
--- phpdoc/de/trunk/language/control-structures/declare.xml	2017-10-30 15:54:20 UTC (rev 343333)
+++ phpdoc/de/trunk/language/control-structures/declare.xml	2017-10-30 16:09:06 UTC (rev 343334)
@@ -54,11 +54,6 @@
        </tgroup>
       </informaltable>
  </para>
- <note>
-  <simpara>
-   Die Encoding-Direktive wurde in PHP 5.3.0 hinzugefügt.
-  </simpara>
- </note>
  <para>
   Da Direktiven behandelt werden, wenn die Datei kompiliert wird, dürfen nur
   Literale als Direktiven-Werte angegeben werden. Variable und Konstante können
@@ -197,7 +192,7 @@
  <sect2 xml:id="control-structures.declare.encoding">
   <title>Encoding</title>
   <para>
-   Das Encoding eines Skripts kann pro Skript mittels der Encoding-Direktive
+   Das Encoding eines Skripts kann pro Skript mittels der <literal>encoding</literal>-Direktive
    festgelegt werden.
    <example>
     <title>Das Encoding eines Skripts deklarieren.</title>

Modified: phpdoc/de/trunk/language/control-structures/elseif.xml
===================================================================
--- phpdoc/de/trunk/language/control-structures/elseif.xml	2017-10-30 15:54:20 UTC (rev 343333)
+++ phpdoc/de/trunk/language/control-structures/elseif.xml	2017-10-30 16:09:06 UTC (rev 343334)
@@ -64,17 +64,17 @@
 <?php

 /* Falsch: */
-if($a > $b):
+if ($a > $b):
     echo $a." ist größer als ".$b;
-else if($a == $b): // Funktioniert nicht.
+else if ($a == $b): // Funktioniert nicht.
     echo "Die vorige Zeile wird einen Parse Error verursachen.";
 endif;


 /* Richtig: */
-if($a > $b):
+if ($a > $b):
     echo $a." ist größer als ".$b;
-elseif($a == $b): // elseif in einem Wort!
+elseif ($a == $b): // elseif in einem Wort!
     echo $a." ist gleich groß wie ".$b;
 else:
     echo $a." ist weder größer als noch gleich wie ".$b;
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.