Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100020 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19899 invoked from network); 23 Jul 2017 18:14:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2017 18:14:00 -0000 X-Host-Fingerprint: 62.180.109.77 unknown Received: from [62.180.109.77] ([62.180.109.77:8082] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/50-18680-567E4795 for ; Sun, 23 Jul 2017 14:13:57 -0400 Message-ID: To: internals@lists.php.net References: <64.32.02884.7983D695@pb1.pair.com> <86.8B.02884.8D93E695@pb1.pair.com> Date: Sun, 23 Jul 2017 20:13:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Posted-By: 62.180.109.77 Subject: Re: [PHP-DEV] http_cookie_set and http_cookie_remove From: gmblar@gmail.com (Andreas Treichel) Hi MichaƂ, > As an average developer, I see providing new functions with http_ prefix > more meaningful and their API more simple because of fewer parameters I > need to pass. > Although however, I see the naming convention you've used is rarely used. > Looking in the docs, there are few other HTTP sapi related functions which > don't follow that convention, like: > header() - Send a raw HTTP header > header_remove() - Remove previously set headers > header_register_callback() - Call a header function > headers_sent() - Checks if or where headers have been sent - this function > http_response_code() - Get or Set the HTTP response code - which is THE > ONLY ONE function prefixed this way This might be one of my next RFCs if my first RFC is well received.