Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99914 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81611 invoked from network); 18 Jul 2017 19:10:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2017 19:10:24 -0000 Authentication-Results: pb1.pair.com header.from=michal@brzuchalski.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=michal@brzuchalski.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain brzuchalski.com designates 188.165.245.118 as permitted sender) X-PHP-List-Original-Sender: michal@brzuchalski.com X-Host-Fingerprint: 188.165.245.118 ns220893.ip-188-165-245.eu Received: from [188.165.245.118] ([188.165.245.118:46609] helo=poczta.brzuchalski.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/5E-02884-F1D5E695 for ; Tue, 18 Jul 2017 15:10:23 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by poczta.brzuchalski.com (Postfix) with ESMTP id 88A1F29842D4 for ; Tue, 18 Jul 2017 21:10:18 +0200 (CEST) Received: from poczta.brzuchalski.com ([127.0.0.1]) by localhost (poczta.brzuchalski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ns1XMd9KGj3Z for ; Tue, 18 Jul 2017 21:10:16 +0200 (CEST) Received: from mail-wr0-f175.google.com (unknown [209.85.128.175]) by poczta.brzuchalski.com (Postfix) with ESMTPSA id 6D5A729842D0 for ; Tue, 18 Jul 2017 21:10:16 +0200 (CEST) Received: by mail-wr0-f175.google.com with SMTP id v105so12402235wrb.0 for ; Tue, 18 Jul 2017 12:10:16 -0700 (PDT) X-Gm-Message-State: AIVw110k68SjWxBm3gxJAUs7Wv5ZSNk1lyicMpTP5laI73wSwTuCSB7r X7Dl1WCgydalisFpVkkGKVI7CjELPw== X-Received: by 10.223.166.162 with SMTP id t31mr190461wrc.52.1500405016168; Tue, 18 Jul 2017 12:10:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.155.194 with HTTP; Tue, 18 Jul 2017 12:10:15 -0700 (PDT) In-Reply-To: References: <64.32.02884.7983D695@pb1.pair.com> <86.8B.02884.8D93E695@pb1.pair.com> <387c1b9c-f738-5b28-0ed1-31b80d8bffb8@rhsoft.net> Date: Tue, 18 Jul 2017 21:10:15 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Michael Morris Cc: "lists@rhsoft.net" , PHP internals Content-Type: multipart/alternative; boundary="001a113bfb0a02429405549c4471" Subject: Re: [PHP-DEV] http_cookie_set and http_cookie_remove From: michal@brzuchalski.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --001a113bfb0a02429405549c4471 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Michael, 2017-07-18 21:02 GMT+02:00 Michael Morris : > On Tue, Jul 18, 2017 at 2:56 PM, lists@rhsoft.net > wrote: > > > > > > > Am 18.07.2017 um 20:39 schrieb Michael Morris: > > > >> Personally, I no longer directly use these calls, preferring instead t= o > >> use > >> Symfony's HTTP foundation classes. Those in turn are, I understand, in > the > >> process of being converted to implement the common interface outlined > >> here: > >> http://www.php-fig.org/psr/psr-7/ I would be much more interested in > >> seeing a bare bones implementation of that agreed on standard in the > >> language core then seeing something entirely new, especially a band ai= d > >> solution > >> > > > > but why do you do this? > > > > > Because I want to be done in a matter of hours or at most days instead of= a > matter of weeks or months. I've been down the "roll your own" road many > times. It usually isn't worth it. > You can do what you want, but personally, I think introducing this little feature and cleaning some std API is better than providing a more complex way of handling requests like linked PSR-7 not everyone may want to use it. There is always a way to use functional API in user-land PSR-7 implementation but not the other way. IMHO if someone wants to use simple functional API let them use it, it may also be used in more complex problem solutions. --=20 regards / pozdrawiam, -- Micha=C5=82 Brzuchalski about.me/brzuchal brzuchalski.com --001a113bfb0a02429405549c4471--