As already mentioned earlier, there does not seem to be any extension or core code using static properties for internal classes.
I'd like to request a change in their behaviour/implementation. Currently static properties of internal classes are allocated persitently which limits their usage and has odd sideaffects. AFAICS they are declared at MINIT and initialized once, also at MINIT. Now, if they become modified (running as a module) they'll "leak" from one request to another. Therefore I'd suggest changing that so that they'll be initialized and destructed for each request, which means that there will need to be some form of hooks, which AFAICS also allows to have streams or arrays (i.e. complex types) as static properties just like in userland. PS: It seems that there's class constant API missing too. Regards, -- Michael - < mike(@)php.net >
signature.asc
Description: OpenPGP digital signature