Re: tsrm in CLI

From: Date: Wed, 08 Aug 2007 21:51:47 +0000
Subject: Re: tsrm in CLI
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-31495@lists.php.net to get a copy of this message
The problem here is that compiler/executor globals are allocated in zend_startup, which is called from cli_sapi_module.startup. So what is actually in compiler_globals and executor_globals is either tsrm_ls if they are initialized to 0 or random crap if they aren't. Can anybody explain me where I'm wrong and why this code works?
After a bit more looking into it appears that this code just does nothing since compiler_globals pointer isn't used in ZTS mode. So I'm going to delete this code unless I hear objections to it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#31495) next »