Today I ran into a problem because I needed to register an internal class that had some protected methods. Currently, the only way to do it is by doing a zend_hash_find() on ce->function_table after registration and updating fn_flags field manually. We should find an easier way to specify fn_flags before registration. What does everyone think of adding an extra field to zend_function_entry structure that would contain initial flags for the method?
-Andrei http://www.gravitonic.com/ "I still find each day too short for all the thoughts I want to think, all the walks I want to take, all the books I want to read, and all the friends I want to see." -John Burroughs -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php