Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53581 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30790 invoked from network); 25 Jun 2011 09:01:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2011 09:01:47 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:44763] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/34-16311-8F3A50E4 for ; Sat, 25 Jun 2011 05:01:45 -0400 Received: by gxk27 with SMTP id 27so1815441gxk.29 for ; Sat, 25 Jun 2011 02:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ty35P2PIBkLJ2GlJK15A6AQ9U3sJ8IQJkxsSYaGx4IQ=; b=L8HabL1nnfh/QC4a3iAxX8G3344rv5NDz8NtivinSjLyxenHaY+pBouwtvJ8y10Z6W H2t5N4ErmvVbrpw6vCQEPEH5yyicO3HEIzluK6H3jbtWwP3+NfTEJtqZ8mytkI8M8zAd +ZB6xT1gNAyA8qwhKq/JgvUPJAuhKwZUfaXLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vK3joaDn106EBmPQuYHmJIYCOeCeQ2jqgRkSeK8zzGHYO/tjZapVCxKXcwi5xCsnkO PPOk9SYOUUq26I0gcbdIjoSWwnw/Fc4ZRrEWql5VV78Q608vFF25J9PjisLJTFAlib5Y DCSdyQmP/kgNfWBOaGiDiSDqpKc97rl0APL+c= MIME-Version: 1.0 Received: by 10.236.136.200 with SMTP id w48mr3835742yhi.198.1308992492699; Sat, 25 Jun 2011 02:01:32 -0700 (PDT) Received: by 10.147.167.16 with HTTP; Sat, 25 Jun 2011 02:01:32 -0700 (PDT) In-Reply-To: References: <1308918416.2279.1.camel@guybrush> Date: Sat, 25 Jun 2011 11:01:32 +0200 Message-ID: To: Derick Rethans Cc: =?ISO-8859-1?Q?Johannes_Schl=FCter?= , PHP Developers Mailing List , dmitry@zend.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Small PHPAPI addition From: pierre.php@gmail.com (Pierre Joye) 2011/6/24 Derick Rethans : > On Fri, 24 Jun 2011, Johannes Schl=FCter wrote: > >> On Thu, 2011-06-23 at 21:47 +0100, Derick Rethans wrote: >> > >> > In order to fix Xdebug bug #587 >> > (http://bugs.xdebug.org/view.php?id=3D587) 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? > > But afaik, it means PHP as "module", so plural makes little sense to me? It is more about the SAPI than SAPI only available as module. I would add sapi in the function as well to avoid any confusion. php_sapi_get_module_initialized. Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org