note 103262 deleted from language.oop5.late-static-bindings by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Apr 2011 20:04:53 +0000 |
| Subject: | note 103262 deleted from language.oop5.late-static-bindings by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178494@lists.php.net to get a copy of this message | ||
Note Submitter: der_schnupfen at gmx dot de
----
This is bad OOP practice.
Static variables and objects are called static because they are "static".
They are initiated once and they shouldn't be modified later.
As long as PHP does not need to be compiled there is no compiler that could complain about this, but
still this is just a misinterpretation of a static context.