PHP 8.1 RFC: Static variables in inherited methods
Static variables in inherited methods | |
Improvement | |
PHP 8.1 | |
Implemented |
RFC Vote: Static variables in inherited methods
- | |
>= 2/3 | |
Yes: 38No: 0 |
When a method containing static variables is inherited, the inherited method currently uses an independent set of static variables. This RFC proposes to only have one set of static variables per method.