diff --git a/language/variables.xml b/language/variables.xml index 5d061391617e..8896b416726f 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -533,6 +533,11 @@ function foo(){ This means that static variables in methods now behave the same way as static properties. + + As of PHP 8.3.0, static variables can be initialized with arbitrary expressions. + This means that method calls, for example, can be used to initialize static variables. + + Usage of static Variables in Inherited Methods