[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/appendices/_migration56.xml?=
From:       Adam_Harvey <aharvey () php ! net>
Date:       2014-01-25 2:47:39
Message-ID: svn-aharvey-1390618059-332730-537467595 () svn ! php ! net
[Download RAW message or body]

aharvey                                  Sat, 25 Jan 2014 02:47:39 +0000

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

Log:
Fix bad example pointed out on /r/php.

Changed paths:
    U   phpdoc/en/trunk/appendices/migration56.xml

Modified: phpdoc/en/trunk/appendices/migration56.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration56.xml	2014-01-25 00:40:12 UTC (rev 332729)
+++ phpdoc/en/trunk/appendices/migration56.xml	2014-01-25 02:47:39 UTC (rev 332730)
@@ -138,7 +138,7 @@
 class C {
     const THREE = TWO + 1;
     const ONE_THIRD = ONE / self::THREE;
-    const SENTENCE = 'The value of '.THREE.' is 3';
+    const SENTENCE = 'The value of THREE is '.self::THREE;

     public function f($a = ONE + self::THREE) {
         return $a;



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic