diff --git a/language/oop5/constants.xml b/language/oop5/constants.xml index af033f51c4..c13cd50668 100644 --- a/language/oop5/constants.xml +++ b/language/oop5/constants.xml @@ -1,5 +1,5 @@ - + Class Constants @@ -14,6 +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. diff --git a/language/oop5/paamayim-nekudotayim.xml b/language/oop5/paamayim-nekudotayim.xml index 9c7f711d93..38c57a887d 100644 --- a/language/oop5/paamayim-nekudotayim.xml +++ b/language/oop5/paamayim-nekudotayim.xml @@ -1,5 +1,5 @@ - + Scope Resolution Operator (::) @@ -18,6 +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. diff --git a/language/oop5/static.xml b/language/oop5/static.xml index 8400906cab..b3680500a8 100644 --- a/language/oop5/static.xml +++ b/language/oop5/static.xml @@ -1,5 +1,5 @@ - + Static Keyword @@ -33,7 +33,9 @@ - As of PHP 5.3.0, it's possible to reference the class using a variable. + 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.