Hi Dmitry Stogov, you wrote: > Hi Michael, > > It is not a bug. You understood proper. Internal classes are stored in > regular heap and they don't use e[memory] function family. > This is done, because memory allocated by emalloc is freed after each > request, but internal classes should still alive in global class table.
Thank you very much for your answer, Dmitry. I guess I got the clue now -- that basically means, that I must not use e[memfuncs] for static properties, right? Isn't the behaviour of ReflectionClass then bogus, because it doesn't care about ZEND_INTERNAL_CLASSes? May I suggest, that the zend engine provides some more sophisticated routines to modify/retreive static poperties, i.e. "transformation" from dynamic zvals to internal ones? Thanks a lot, -- Michael - < mike(@)php.net >
signature.asc
Description: OpenPGP digital signature