[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/language/_namespaces.xml?=
From:       Hannes_Magnusson <bjori () php ! net>
Date:       2013-10-31 1:36:24
Message-ID: svn-bjori-1383183384-332025-1596420193 () svn ! php ! net
[Download RAW message or body]

bjori                                    Thu, 31 Oct 2013 01:36:24 +0000

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

Log:
Fixed bug#66004 (Parse error in an example of the namespace section)

Bug: https://bugs.php.net/66004 (Open) Parse error in an example of the namespace section
      
Changed paths:
    U   phpdoc/en/trunk/language/namespaces.xml

Modified: phpdoc/en/trunk/language/namespaces.xml
===================================================================
--- phpdoc/en/trunk/language/namespaces.xml	2013-10-31 00:50:41 UTC (rev 332024)
+++ phpdoc/en/trunk/language/namespaces.xml	2013-10-31 01:36:24 UTC (rev 332025)
@@ -1469,10 +1469,10 @@
      <programlisting role="php">
       <![CDATA[
 <?php
-$a = new "dangerous\name"; // \n is a newline inside double quoted strings!
+$a = "dangerous\name"; // \n is a newline inside double quoted strings!
 $obj = new $a;

-$a = new 'not\at\all\dangerous'; // no problems here.
+$a = 'not\at\all\dangerous'; // no problems here.
 $obj = new $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