Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106016 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11658 invoked from network); 21 Jun 2019 20:38:56 -0000 Received: from unknown (HELO mail-ed1-f49.google.com) (209.85.208.49) by pb1.pair.com with SMTP; 21 Jun 2019 20:38:56 -0000 Received: by mail-ed1-f49.google.com with SMTP id z25so11204292edq.9 for ; Fri, 21 Jun 2019 10:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MZqtPaQO2+uj1YAeRnQKWdvbbq4qxCLMAJmZhcVpSRY=; b=alQK37LJaPJIYa+DAzDciz910K0KcQloDGb2ODdcwkbLOrt0W4sq6U+0cRSOzB0KPI odFV5pf9bP2Uis0eiiTramzmEzs1/08858GIKYa2ajwhlGbZZPKLCR/l1+fUiOmbiDSA IB5PwrfnbH+peVTuRYHw/irs4hsxryhwRYnBwAMz87sV9mqLZMeDsJBvAgV0vE7J3cwv G+foJV82ge0pExiS8iSVCl9mSenbJqZVnJYLZQxhwJtu2Pn0oBjUi8lO4e6UCXoWJyxl +WhOH6eP6yrZXRz645/e5nyjBd1/lz+Q+HFm9AAi5rD265rF1MwKJvyjpRCW84LDR1c7 JLmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MZqtPaQO2+uj1YAeRnQKWdvbbq4qxCLMAJmZhcVpSRY=; b=OwWVK56BqQL+qzvpxQvseKio0ZfixPg0LZVe134d0vST3ytIgmoibp52BtR1Q6BsD1 p2W8kwygy1CXUKCXlnAhX3h6cmFxFVskM7SmemW8nqHFc67FuBLmamgUTqWG5P+PrRnD 2e8OteVA4aRtFKyV/pwG4EKisYWCctCMVzTwC0xgmmwkVzTcDcf8FxqpHPN3BLkOse6j 1KoNUkXKMDwoVkv+bWlvJP/wF3pnABGNiB5HXeVgW070XvJRWJjpyhC19gARfiJehGuL 0jt4elP/V4d+ZMWH32hdpTjP+sJe5umsTyE2UITt/2zVRmgj8l6o/S904bYK9dBW1Dc3 zMHg== X-Gm-Message-State: APjAAAVOzzIqFjj0XcYCg5WkzgL72KevBzAsXjWtAemZ6nZwVpIAeaP7 lYpJvKNAYtg7U70sTsEIDiM= X-Google-Smtp-Source: APXvYqyx2+zShAMIEgwE/jcDYSeJIcL5BTKuCCFLp0reQdAPihgErceGgEQgbMmBTC7cnYFewz/g4w== X-Received: by 2002:a50:b662:: with SMTP id c31mr147637687ede.252.1561139647875; Fri, 21 Jun 2019 10:54:07 -0700 (PDT) Received: from [192.168.0.63] (84-75-30-51.dclient.hispeed.ch. [84.75.30.51]) by smtp.gmail.com with ESMTPSA id l50sm1073212edb.77.2019.06.21.10.54.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 10:54:07 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) In-Reply-To: Date: Fri, 21 Jun 2019 19:54:06 +0200 Cc: Internals , Nikita Popov Content-Transfer-Encoding: quoted-printable Message-ID: <2FC71680-06DE-45DA-A688-3EE810000431@gmail.com> References: To: Kalle Sommer Nielsen X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [PHP-DEV] [RFC] Deprecations for 7.4 From: claude.pache@gmail.com (Claude Pache) > Le 21 juin 2019 =C3=A0 17:20, Kalle Sommer Nielsen a = =C3=A9crit : >=20 > Greetings Internals >=20 > Nikita and I would like to open the discussion for the RFC: > "Deprecations for 7.4", this RFC targets a larger set of various > features targeting for deprecation in 7.4 with the intention of > removal in PHP 8.0. >=20 > https://wiki.php.net/rfc/deprecations_php_7_4 >=20 > If there is no major objections to this RFC, then voting will begin in > a 2 weeks time. >=20 > Regards, > Nikita & Kalle >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 I object to the following deprecations: ------------ apache_request_headers().=20 The function has that name because once upon a time it was available = only when PHP run as an Apache module. But although it (and its = irregularly-named alias `getallheaders()`) is now available somewhere = else, the functionality has not changed for those that run PHP as an = Apache module. Also, according to the documentation, another function, = `apache_response_headers()`, is also available to other SAPIs. However, = it has the benefit of not having a documented alias, so that it can = escape the deprecation proposal? Note also the existence of `nsapi_request_headers()` function that = (according to the documentation) does the same thing than = `getallheaders()` when PHP runs as a NSAPI module. And last but not least, `*_request_headers()`is more precisely named = than `getallheaders()` (given the existence of `*_response_header()` = functions). ------------ =20 is_writeable().=20 That =E2=80=9Cwriteable=E2=80=9D is =E2=80=9Ca spelling mistake=E2=80=9D = (as opposed to an =E2=80=9Cuncommon alternative spelling=E2=80=9D) is an = opinion that is not really proveable. ------------ =E2=80=94Claude =20