Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53366 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5050 invoked from network); 17 Jun 2011 22:26:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2011 22:26:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:55655] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/87-49199-674DBFD4 for ; Fri, 17 Jun 2011 18:25:59 -0400 Received: by iym1 with SMTP id 1so782483iym.29 for ; Fri, 17 Jun 2011 15:25:56 -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; bh=6eZkyrgduHNb8gPDrxRq2DrIv71+bLpKfC9IWxWtcoM=; b=JB0UVvffdEkfbx5Mob2zxoLUn1wYL9BhY8w19BfVNv2i3Qrk7RoXgkCc31cGjpaji4 pkmLWbv8NpsI/hnzp2mZNhIDTKgFTsPzGpXTBCQzq09f/BDpnXe/1MIZN0eGkLcKnEsN bzknqneyS4uz7ETj+Y2fhsuRGIxfJskd8R35g= 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; b=vQyfLr7tGFk7/TJjukz4wWQne9hlyARTSeGLIhP1v/vfEeGJPQaXdfmuAb/AewdPZB NAE9QTd+2B5EhkhzPh36+0qq6cFmXZTRkzuuTC1/IBEw1j5vLpm7kkiCvXH8LnCqhcmz PATXuCdi73UvII3MVVfI+Dnwovlc0ZUVQxTek= MIME-Version: 1.0 Received: by 10.42.142.136 with SMTP id s8mr2930934icu.209.1308349555748; Fri, 17 Jun 2011 15:25:55 -0700 (PDT) Received: by 10.42.108.70 with HTTP; Fri, 17 Jun 2011 15:25:55 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Jun 2011 23:25:55 +0100 Message-ID: To: internals@lists.php.net Cc: Kalle Sommer Nielsen Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] New function http_response_code() to PHP5.4 Branch From: dragoonis@gmail.com (Paul Dragoonis) On Fri, Jun 17, 2011 at 11:18 PM, Kalle Sommer Nielsen wrote: > Hi Paul > > 2011/6/18 Paul Dragoonis : >> Hi there, >> >> I'm requesting my function be put into the 5.4 branch. >> >> I added a function back in the 5.3 phase to obtain missing >> functionality of HEAD.c (and /ext/standard/ in general), but since it >> wasn't a bug fix then it wasn't suitable to add to a 5.3.x series. >> >> The function is http_response_code() - Link: >> http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/standard/head.c#285 >> >> when you set the HTTP status code in header("..."); or in the param of >> header, like: header("...", null, 404); then at a later date this >> can't be obtained again by any PHP function. >> >> Can this be added to 5_4 please? > > I'll merge it within the weekend Cheers Kalle! >> >> Thanks, >> Paul Dragoonis. >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > > -- > regards, > > Kalle Sommer Nielsen > kalle@php.net >