diff --git a/language/namespaces.xml b/language/namespaces.xml index 714eb87550d3..e57a88c1dbce 100644 --- a/language/namespaces.xml +++ b/language/namespaces.xml @@ -91,7 +91,8 @@ echo constant($d); // see "Namespaces and dynamic language features" section Although any valid PHP code can be contained within a namespace, only the following - types of code are affected by namespaces: classes (including abstracts and traits), interfaces, functions and constants. + types of code are affected by namespaces: classes (including abstract classes, traits and enums), interfaces, + functions and constants. Namespaces are declared using the namespace