Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74439 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40445 invoked from network); 23 May 2014 05:46:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2014 05:46:20 -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 108.166.43.83 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.83 smtp83.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.83] ([108.166.43.83:39048] helo=smtp83.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/D9-63132-8A0EE735 for ; Fri, 23 May 2014 01:46:20 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp11.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 1594980677; Fri, 23 May 2014 01:46:14 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp11.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id A87A280648; Fri, 23 May 2014 01:46:13 -0400 (EDT) Message-ID: <537EE0A5.9030109@sugarcrm.com> Date: Thu, 22 May 2014 22:46:13 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: John Bafford , Rasmus Lerdorf CC: "internals@lists.php.net" References: <2DC459EE-AE98-4CAE-977A-6FB918FDEF54@bafford.com> <537EA42B.4000000@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Bison 3 support for PHP 5.5 From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > So instead, I created the TSRMLS_DN and TSRMLS_CN macros which, in > the ZTS case, work like TSRMLS_D/TSRMLS_C, but when ZTS is off, still > resolve to a parameter (that must always be present), which is passed > NULL. I don't think it is a very good idea to add extra parameter that does nothing to every function. There should be a better solution to this. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227