Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31495 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77650 invoked by uid 1010); 8 Aug 2007 21:52:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77635 invoked from network); 8 Aug 2007 21:52:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2007 21:52:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:33642] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/20-06420-10B3AB64 for ; Wed, 08 Aug 2007 17:52:04 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Aug 2007 14:51:59 -0700 Message-ID: <46BA3AF3.4000409@zend.com> Date: Wed, 08 Aug 2007 14:51:47 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: 'PHP Internals' References: <46BA15E9.10802@zend.com> In-Reply-To: <46BA15E9.10802@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Aug 2007 21:51:59.0367 (UTC) FILETIME=[588D6970:01C7DA06] Subject: Re: [PHP-DEV] tsrm in CLI From: stas@zend.com (Stanislav Malyshev) > 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