Tal,

I guess you just want to find out which classes an extension defines.
I don't think the current architecture allows for it.

There are two ways of going about it:

1. Keep track of extension classes with a HashTable (or list) in
zend_module_entry. This list would be updated when
zend_register_internal_class() is called.

2. Add a field called module_number to zend_class_entry.

I think the first one would be more appropriate, but I welcome other
comments.

-Andrei                                       http://www.gravitonic.com/

For society, it's probably a good thing that engineers value function over
appearance.  For example, you wouldn't want engineers to build nuclear power
plants that only _look_ like they would keep all the radiation inside.
                                (Scott Adams - The Dilbert principle)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to