Hi!
Indeed, when using dlsym the value is recreated. now the question is what happens at apache restart (on mac) that causes incorrect behavior. a-priory to that question, static initializers can not be trusted on some situations.
I think we need to figure out why. This is standard behavior for dynamic objects, before we start patching around I think we need to understand why it doesn't work - maybe we are doing something wrong in some other place. So right now do we have something simple on Mac that looks like mod_php and demonstrates the problem?
-- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php