Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106171 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 32270 invoked from network); 8 Jul 2019 16:21:45 -0000 Received: from unknown (HELO mail-ed1-f44.google.com) (209.85.208.44) by pb1.pair.com with SMTP; 8 Jul 2019 16:21:45 -0000 Received: by mail-ed1-f44.google.com with SMTP id p15so4133883eds.8 for ; Mon, 08 Jul 2019 06:41:10 -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=FM+dJ43eWBNAv1FRa9Pn0sD+94s8PZvPIcbk5HMDHlU=; b=n89KcuclFXq0cvS8+NIN2AUKye8sCKyqVXvys9qyIFc1ZutuFHhtkjjhEJizLa8jho 14s0dccS/9lq924Ifd+t7rkvgy1q/dE0UdP8zsnGpmBks+9i06qc/YWQVTri2hHjofeq xADifN4sywSWCI24g2I/rjF6IvTIdIVVlK1x1Ct1lGFrnczG6D6pFUVzjqeBhxLY1hFT +dYul1+U1Q7d+lMF8mHSRQ//81DdPN/NJTdBddwBC0deTLNFVc0rWraR1W3JP0jKZEMf 95V0rQK/U7Gn1tX71Okbktzm76VeW1FfDec1TaBi9mUo7QEnDnzxob/drBDmr5WnmxQ6 poGQ== 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=FM+dJ43eWBNAv1FRa9Pn0sD+94s8PZvPIcbk5HMDHlU=; b=LUZjbtbmqtW8/f3YFLJ/eUKt1SnZmWPdYN7ZfOkz5Jp8wgCRMg2UBfuVkETV4YSreo mf9sNz3oxwM3Kgeo0JoZLnKM2NO3eU0ifcOpniNg9iUrNTe+GwmfXj+u/I5mUbXgV6x0 YEOr9s7fEN3JOw0qjm83Kx9yyutzl/XlkpQWFVofSeDFk7N8T+61O0oeGqxHWQk7zcBl qQLJAQBChSbS2HMvkSTSvXJW91so/UvGp7fqzPtLYDModC8OoVRweAmTVH9Nr1Je4WLJ XGNqLbrEj90v1kF/hvmwf9esnxKQSLFch2+fmh3K3VoRNB7bSvFlktN501NYMJUlib3F UGZQ== X-Gm-Message-State: APjAAAVzFbvu79Schm85w5rHNu1/kY2jgqbUdmZv7rIsK3mvsyhGc5XF fadxdbUtQor4m6wzyiOHk8uFZViaeSM= X-Google-Smtp-Source: APXvYqzfM3Q7jg32uKQ5QO793PgpSpxqTMsGzwTgH8MNhOMX3+fok/taHUi7uOrM50eFcO6EzWgLIA== X-Received: by 2002:a17:906:9711:: with SMTP id k17mr16908599ejx.298.1562593269622; Mon, 08 Jul 2019 06:41:09 -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 h2sm5265549edq.33.2019.07.08.06.41.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 06:41:08 -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: Mon, 8 Jul 2019 15:41:05 +0200 Cc: Internals , Nikita Popov Content-Transfer-Encoding: quoted-printable Message-ID: <32BFA854-5FDB-4F56-941C-3B9F23D6D2E3@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) The deprecation RFC lists `apache_request_headers()`, because it is = =E2=80=9Can Apache-specific name is also available in other SAPIs, even = though it is also available under the SAPI-independent name = getallheaders()=E2=80=9D. Have you ever thought about making a more thorough and consistent change = with other similar functions, instead of just picking one particular = function because it is the only one in its category that has a = documented alias? In five minutes, I=E2=80=99m thinking of the following = obvious things: * using a less ambiguous name than `getallheaders()`, given the = existence of both `apache_request_headers()` and = `apache_response_headers()`; * renaming all `apache_*()` functions that are available in other SAPI = into a SAPI-independent name; * treating all `nsapi_*()` functions as well. =E2=80=94Claude