Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57834 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55384 invoked from network); 13 Feb 2012 18:23:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2012 18:23:54 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 207.97.245.143 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 207.97.245.143 smtp143.iad.emailsrvr.com Linux 2.6 Received: from [207.97.245.143] ([207.97.245.143:60561] helo=smtp143.iad.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/91-46500-A35593F4 for ; Mon, 13 Feb 2012 13:23:54 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp24.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 7787F1A019B; Mon, 13 Feb 2012 13:23:51 -0500 (EST) X-Virus-Scanned: OK Received: by smtp24.relay.iad1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 15A2B1A06A2; Mon, 13 Feb 2012 13:23:49 -0500 (EST) Message-ID: <4F395534.5070406@sugarcrm.com> Date: Mon, 13 Feb 2012 10:23:48 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: yoram bar haim CC: Gwynne Raskind , Dmitry Stogov , PHP Internals , Alex Haiut , Zeev Suraski , Eran Ifrah , Lior Kaplan References: <201202121409.54891.yoram.b@zend.com> <201202131138.00917.yoram.b@zend.com> <201202131157.31848.yoram.b@zend.com> In-Reply-To: <201202131157.31848.yoram.b@zend.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: restore user opcode handler in PHP From: smalyshev@sugarcrm.com (Stas Malyshev) 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