svn: /phpdoc/de/trunk/ language/oop5/static.xml reference/info/functions/version-compare.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Fri, 26 Jan 2018 15:31:18 +0000

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

Log:
Update

Patches provided by anonymous users.

Changed paths:
    U   phpdoc/de/trunk/language/oop5/static.xml
    U   phpdoc/de/trunk/reference/info/functions/version-compare.xml

Modified: phpdoc/de/trunk/language/oop5/static.xml
===================================================================
--- phpdoc/de/trunk/language/oop5/static.xml	2018-01-26 15:04:29 UTC (rev 343934)
+++ phpdoc/de/trunk/language/oop5/static.xml	2018-01-26 15:31:18 UTC (rev 343935)
@@ -20,9 +20,9 @@

   <para>
    Klassenmember oder -methoden als statisch zu deklarieren macht diese
-   zugänglich, ohne dass man die Klasse instantiieren muss. Auf ein als statisch
-   deklariertes Member kann nicht mit einem instantiierten Klassenobjekt
-   zugegriffen werden (obgleich eine statische Methode dies kann).
+   zugänglich, ohne dass man die Klasse instantiieren muss. Auf eine als statisch
+   deklarierte Eigenschaft kann nicht mit einem instantiierten Klassenobjekt
+   zugegriffen werden (auf eine statische Methode jedoch schon).
   </para>

   <para>

Modified: phpdoc/de/trunk/reference/info/functions/version-compare.xml
===================================================================
--- phpdoc/de/trunk/reference/info/functions/version-compare.xml	2018-01-26 15:04:29 UTC (rev 343934)
+++ phpdoc/de/trunk/reference/info/functions/version-compare.xml	2018-01-26 15:31:18 UTC (rev 343935)
@@ -112,20 +112,20 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-if (version_compare(PHP_VERSION, '6.0.0') >= 0) {
-    echo 'Ich bin mindestens PHP 6.0.0, und zwar: ' . PHP_VERSION . "\n";
+if (version_compare(PHP_VERSION, '7.0.0') >= 0) {
+    echo 'Ich bin mindestens PHP 7.0.0, meine Version: ' . PHP_VERSION . "\n";
 }

 if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
-    echo 'Ich bin mindestens PHP 5.3.0, nämlich: ' . PHP_VERSION . "\n";
+    echo 'Ich bin mindestens PHP 5.3.0, meine Version: ' . PHP_VERSION . "\n";
 }

 if (version_compare(PHP_VERSION, '5.0.0', '>=')) {
-    echo 'Ich bin PHP 5. Meine Versionsnummer lautet: ' . PHP_VERSION . "\n";
+    echo 'Ich bin mindestens PHP 5, meine Version: ' . PHP_VERSION . "\n";
 }

 if (version_compare(PHP_VERSION, '5.0.0', '<')) {
-    echo 'Ich bin PHP 4. Meine Versionsnummer lautet: ' . PHP_VERSION . "\n";
+    echo 'Ich bin noch PHP 4, meine Version: ' . PHP_VERSION . "\n";
 }
 ?>
 ]]>
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.