diff --git a/language/oop5/static.xml b/language/oop5/static.xml index bdcefbc24f..904a228e92 100644 --- a/language/oop5/static.xml +++ b/language/oop5/static.xml @@ -1,5 +1,5 @@ - + Static Keyword @@ -33,7 +33,7 @@ - Like any other PHP static variable, static properties must be + Like any other PHP static variable, static properties may only be initialized using a literal or constant; expressions are not allowed. So while you may initialize a static property to an integer or array (for instance), you may not initialize it to