Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53574 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64114 invoked from network); 24 Jun 2011 13:08:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2011 13:08:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:49181] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/A4-23673-992840E4 for ; Fri, 24 Jun 2011 08:27:06 -0400 Received: from [192.168.2.230] (ppp-93-104-46-111.dynamic.mnet-online.de [93.104.46.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 8461A74CD7; Fri, 24 Jun 2011 14:27:02 +0200 (CEST) To: Derick Rethans Cc: PHP Developers Mailing List , dmitry@zend.com In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Fri, 24 Jun 2011 14:26:56 +0200 Message-ID: <1308918416.2279.1.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Small PHPAPI addition From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2011-06-23 at 21:47 +0100, Derick Rethans wrote: > Hi! > > In order to fix Xdebug bug #587 (http://bugs.xdebug.org/view.php?id=587) > I need to have access to module_initialized which is currently a static > in main/main.c. I've added a simple function to retrieve that and would > like to commit that to 5.3/5.4 and trunk. Comments? > The patch is attached. I know the variable uses singular, but maybe php_get_modules_initialized() is clearer? johannes