Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12909 invoked from network); 24 Jun 2011 17:09:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2011 17:09:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:48884] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/30-10081-5E4C40E4 for ; Fri, 24 Jun 2011 13:09:58 -0400 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 54123DE140; Fri, 24 Jun 2011 18:09:55 +0100 (BST) Date: Fri, 24 Jun 2011 18:09:55 +0100 (BST) X-X-Sender: derick@whisky To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= cc: PHP Developers Mailing List , dmitry@zend.com In-Reply-To: <1308918416.2279.1.camel@guybrush> Message-ID: References: <1308918416.2279.1.camel@guybrush> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1983050363-1308935395=:3774" Subject: Re: [PHP-DEV] Small PHPAPI addition From: derick@php.net (Derick Rethans) --8323328-1983050363-1308935395=:3774 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 24 Jun 2011, Johannes Schl=C3=BCter wrote: > On Thu, 2011-06-23 at 21:47 +0100, Derick Rethans wrote: > >=20 > > In order to fix Xdebug bug #587=20 > > (http://bugs.xdebug.org/view.php?id=3D587) I need to have access to=20 > > module_initialized which is currently a static in main/main.c. I've=20 > > added a simple function to retrieve that and would like to commit=20 > > that to 5.3/5.4 and trunk. Comments? The patch is attached. >=20 > I know the variable uses singular, but maybe > php_get_modules_initialized() is clearer? But afaik, it means PHP as "module", so plural makes little sense to me? cheers, Derick --=20 http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug --8323328-1983050363-1308935395=:3774--