diff --git a/language/oop5/constants.xml b/language/oop5/constants.xml index 1c102afc80..1778e51aaf 100644 --- a/language/oop5/constants.xml +++ b/language/oop5/constants.xml @@ -1,5 +1,5 @@ - + Class Constants @@ -14,8 +14,8 @@ As of PHP 5.3.0, it's possible to reference the class using a variable. - Keywords like self, parent or - static are not allowed in dynamic class references. + The variable's value can not be a keyword (e.g. self, + parent and static). diff --git a/language/oop5/paamayim-nekudotayim.xml b/language/oop5/paamayim-nekudotayim.xml index 6ff87fd89b..7032dee6f9 100644 --- a/language/oop5/paamayim-nekudotayim.xml +++ b/language/oop5/paamayim-nekudotayim.xml @@ -1,5 +1,5 @@ - + Scope Resolution Operator (::) @@ -18,8 +18,8 @@ As of PHP 5.3.0, it's possible to reference the class using a variable. - Keywords like self, parent or - static are not allowed in dynamic class references. + The variable's value can not be a keyword (e.g. self, + parent and static). diff --git a/language/oop5/static.xml b/language/oop5/static.xml index 3740abf858..98b3288e2d 100644 --- a/language/oop5/static.xml +++ b/language/oop5/static.xml @@ -1,5 +1,5 @@ - + Static Keyword @@ -34,8 +34,8 @@ As of PHP 5.3.0, it's possible to reference the class using a variable. - Keywords like self, parent or - static are not allowed in dynamic class references. + The variable's value can not be a keyword (e.g. self, + parent and static).