Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69786 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85707 invoked from network); 23 Oct 2013 00:05:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2013 00:05:51 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.241 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.241 imap3-1.ox.registrar-servers.com Received: from [198.187.29.241] ([198.187.29.241:39752] helo=imap3-1.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/BF-10840-ED217625 for ; Tue, 22 Oct 2013 20:05:51 -0400 Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id E95AC2A007A for ; Tue, 22 Oct 2013 20:05:47 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap3.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap3.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id n8TuhSxYN3T7 for ; Tue, 22 Oct 2013 20:05:47 -0400 (EDT) Received: from [192.168.0.200] (unknown [94.3.245.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id 8BDC52A0078 for ; Tue, 22 Oct 2013 20:05:47 -0400 (EDT) Message-ID: <526712D2.7080100@ajf.me> Date: Wed, 23 Oct 2013 01:05:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20100101 Thunderbird/25.0 MIME-Version: 1.0 To: PHP internals References: <52603390.7020609@ajf.me> <5266E5D0.3090506@ajf.me> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] Add apache_request_headers() and apache_response_headers() to the CLI server From: ajf@ajf.me (Andrea Faulds) On 23/10/2013 01:02, Yasuo Ohgaki wrote: > > I'm not following the discussion, but if name matters why don't you use > generic name > function and alias of it? > There's already a generic alias of apache_request_headers(), namely getallheaders(). There's not yet one for apache_response_headers(), but I don't think it's within the scope of this request to add one. I might add one with a separate request, mind. -- Andrea Faulds http://ajf.me/