cvs: phpdoc /en/language namespaces.xml
| From: | Hannes Magnusson | Date: | Tue, 23 Jun 2009 18:56:16 +0000 |
| Subject: | cvs: phpdoc /en/language namespaces.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4222@lists.php.net to get a copy of this message | ||
bjori Tue Jun 23 18:56:16 2009 UTC
Modified files:
/phpdoc/en/language namespaces.xml
Log:
Make it darn clear that declare() can come before namespace;
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/namespaces.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/language/namespaces.xml
diff -u phpdoc/en/language/namespaces.xml:1.12 phpdoc/en/language/namespaces.xml:1.13
--- phpdoc/en/language/namespaces.xml:1.12 Fri May 8 18:55:11 2009
+++ phpdoc/en/language/namespaces.xml Tue Jun 23 18:56:16 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<chapter xml:id="language.namespaces" xmlns="http://docbook.org/ns/docbook"
version="1.1">
<title>Namespaces</title>
@@ -82,7 +82,8 @@
<para>
Namespaces are declared using the <literal>namespace</literal>
keyword. A file containing a namespace must declare the namespace
- at the top of the file before any other code.
+ at the top of the file before any other code - with one exception: the
+ <xref linkend="control-structures.declare" /> keyword.
<example>
<title>Declaring a single namespace</title>
<programlisting role="php">