Hi Marcus, Marcus Boerger wrote: > sure php is unlike c++ where everything is handled via vmt's that change > during construction. In php the ctors are called after the default values > are applied to every member variable. Actually the most outer ctor is being > called so in your case B's. If that is calling into A's ctor which is in > your case a c implementation you can easily access that member just as any > other.
Thanks for pointing that out. I got segfaults while trying to access the arrays, but the problem was an uninitialized array. The zval->type == IS_ARRAY statement can protect the access. regards, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php