Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126305 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 76D1F1A00BC for ; Thu, 6 Feb 2025 10:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1738837830; bh=gugslSJsgvFdz6cW9zXEiup2986xsPSJmYaGQALlgRY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eubcVVWLM00m2rDr4DTjsEd2GwxG7ybYCoQxqt5M1BwT6WUtIpYCd0JMvNCEfX1rx Ip+CvFBOI4bMjQHSLpNPJHvuXKtvnKTigqSkVMHQsRWBTuvfN6yv4faC9Pobpw3Q4V 1fPKTNa9MniKX8V/Q6OEoMMM3Qd3cyYLspFFd5ehj9MuGo4cBOSeHP9aDZrvPZYSaw aAHoHjwdtEBzFvyzdnt7/Vr+PXf27LIIHjbZkwsgSQLAqzpFzAJFUU2KyaKvvrqwHx b7YaRCVnIkNWXaVuECTEGVTu+cXW+j0nZK24w8/R3KnEBm7yK9TINM6Jdqw10ng0SQ 0gASbcuoWUzAw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F0826180084 for ; Thu, 6 Feb 2025 10:30:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_50,DMARC_NONE, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 6 Feb 2025 10:30:29 +0000 (UTC) Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-2aa17010cbcso468779fac.3 for ; Thu, 06 Feb 2025 02:33:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738837993; x=1739442793; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gugslSJsgvFdz6cW9zXEiup2986xsPSJmYaGQALlgRY=; b=VZRkpe5Rz4nKsfQheLWX38eMc7hkmwkv8JMB9RWMxuxt4zgZ+k0TgX03AMFzVVjQQL 1KLsKOKrgZGHCKEL0HUjiT8FddospSMklDVctBJGGoS2CrkwaE/99oAR5M8htGsEORrx Il9qHT1EsPVru07UeMu51iW2i/kUYyaWMatyUm0RY/s0l7KDxx41YRhwVO23pyQPQXfm aiLTY7bRAbrRildvNwE5vWZDnXpvOWfHhWWP28DKHiF5S5OISCMHjl4t1Foy3ywN0UFi rvcuNxe+yMCExSQVazUf+TDwbY9D+2ZW/VSr+R393YCl60TnxxNrOYy+7HnQ9kVBPhNK E2Fg== X-Gm-Message-State: AOJu0YzIW40U5EF27f7vQHajVvoxYh6oyYjvtHyeEBKTMoNb5sDV6lOX QMc3QSG+wOMy9HnjlkszIRceXjyXXW44JHgmxGA8n9dDhkdjXXMf0f6wpdNWYsf+AiETQfPS4WY Z7rP156R2i2JrSoLp6AkTazN/SLc4iA== X-Gm-Gg: ASbGncvTTyzVSp1Z74lAf5EKWo5jtWRyF2QhOFSdQaSmtikmWHgquDbZ7utyGuUFm7d iovKsul5XiPcXGzFVSpjtnMii4IPkRd/CQ5GH+x8iOzyw5QeXC5O/1oAwvD1x6iXQBwnlPEHT X-Google-Smtp-Source: AGHT+IFtlqHAGufDOSYSAGN1tqq6yRfyGGwKR01EWIhmtv4JTeU4+8HNJAeC0j1S+o9B2ZBumMhcprgNs4ynNjT5Ij8= X-Received: by 2002:a05:6870:3113:b0:296:dd30:e90f with SMTP id 586e51a60fabf-2b804f6c443mr3281319fac.16.1738837993276; Thu, 06 Feb 2025 02:33:13 -0800 (PST) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <2861271a800eddea62c7fe93b32b2fab@bastelstu.be> In-Reply-To: <2861271a800eddea62c7fe93b32b2fab@bastelstu.be> Date: Thu, 6 Feb 2025 11:33:02 +0100 X-Gm-Features: AWEUYZkwnWt_GURJQft4_c8Wh8-04xdWe0DUiHFD4owrjPHIc5SrE_ZXm-Qjb-o Message-ID: Subject: Re: [PHP-DEV] Allow to easily retrieve non-default INI settings / GH PR 17459 To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: php internals Content-Type: multipart/alternative; boundary="000000000000e94d97062d76c471" From: bukka@php.net (Jakub Zelenka) --000000000000e94d97062d76c471 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, Feb 6, 2025 at 9:57=E2=80=AFAM Tim D=C3=BCsterhus wrote: > Hi > > this email concerns my PR https://github.com/php/php-src/pull/17459, > which extended the cli-SAPI=E2=80=99s `--ini` flag to print any INI setti= ngs > that differ from the built-in default. There was some discussion around > which flag to use, which didn't result in particularly strong opinions, > with the PR being merged in the current state, given there is plenty of > time until feature freeze for follow-ups. > > After the merge, this came up again and I'm now reaching out to > Internals for other folks to weigh in. Those of you who have an opinion > about the flag (and possible BC concerns with using the existing `--ini` > flag), please comment on the PR (or this ML thread). If necessary I can > do a small RFC / straw poll about this, but I hope that the feature is > sufficiently simple to not require a formal process :-) > > As I mentioned in the PR I don't see a reason why that option should be extended to also contain diff which will be mostly quite useless if one just want to see the configuration files. I can see why someone would want the diff functionality but it should be probably using a different option or the previously suggested --ini=3Ddiff. Personally I don't really mind wh= at it is, just not using the same one. Cheers Jakub --000000000000e94d97062d76c471 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Thu, Feb = 6, 2025 at 9:57=E2=80=AFAM Tim D=C3=BCsterhus <tim@bastelstu.be> wrote:
Hi<= br>
this email concerns my PR https://github.com/php/php-src/pu= ll/17459,
which extended the cli-SAPI=E2=80=99s `--ini` flag to print any INI setting= s
that differ from the built-in default. There was some discussion around which flag to use, which didn't result in particularly strong opinions,=
with the PR being merged in the current state, given there is plenty of time until feature freeze for follow-ups.

After the merge, this came up again and I'm now reaching out to
Internals for other folks to weigh in. Those of you who have an opinion about the flag (and possible BC concerns with using the existing `--ini` flag), please comment on the PR (or this ML thread). If necessary I can do a small RFC / straw poll about this, but I hope that the feature is
sufficiently simple to not require a formal process :-)


As I mentioned in the PR I don't see a reason why = that option should be extended to also contain diff which will be mostly qu= ite useless if one just want to see the configuration files. I can see why = someone would want the diff functionality but it should be probably using a= different option or the previously suggested --ini=3Ddiff. Personally I do= n't really mind what it is, just not using the same one.

=
Cheers

Jakub
--000000000000e94d97062d76c471--