I'm not familiar with Mac, but I saw such behavior on Linux very long time ago, when on PHP restart static variables were still keep values from old process.

Thanks. Dmitry.

On 02/13/2012 01:02 PM, Stas Malyshev wrote:
Hi!

Hi Dmitry.
the patch does work, in sense of actually restoring the handlers state
when
you call zend_set_user_opcode_handler() with original handler.
the patch does not solve the basic problem of no re-initialization of
static
arrayes on mac.

Could you please describe in more details what's going on on mac? It
seems strange that dlopen() would not initialize vars - that'd be pretty
bad behavior. Do you have an easy way to reproduce it?

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

Reply via email to