Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128870 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 lists.php.net (Postfix) with ESMTPS id 28B321A00BC for ; Sun, 19 Oct 2025 20:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1760904603; bh=h0hRIF2qf/1FxXY9vSjQO85RrOqe8XuQWQ4zvYSZpWo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Pp11swoI/uKYBdNf36CHrzFRk2zrOLPiYKv75CpukR+PLwZN0n7+Z5qnjcRGSawXY EdaCo4VFRjTA9ykF6Pw+TRVfpD6TYGThNiub+oQ5hZZt8rur57EAzW1YfJlqgBGDAY nvHGYQ7KwJ/CxtkJYySzuJVTp/wjzMYSw4R3YygobzSAXHxDVV930B8bShIzwF8MEJ 3AICLkiBs+5y+cVGiX0ymxavwCsybT1TMfsIxILFu33I3eyIFtKNGeTMOhtfWTf5MG 7I4dms/FGC+dxeasHLKwUDkEhHDGAs7bYS4KnMsO3GS6CEXBUdvFOWdiq8h1wA63mv 5qEdhSdSYRmIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AEECA1801D9 for ; Sun, 19 Oct 2025 20:09:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, T_SPF_TEMPERROR autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 ; Sun, 19 Oct 2025 20:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1760904593; bh=hXo49WukadolXqtOYM6qVIyrgbAtepyqR4mhAphsjFY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=PZgn0Guv9jg++h5XbE29FqY0NR2w4lKwiHYwxf9BQD9zq/gC2Q6GiCi7O5vipqzmY eplGvChOY65YMKGGZU4YBE+ikkSJd1k3CUhNFGh+53Q60yDnCX9lPsLUJhPPhNdGb8 +3+CFoeRcV6W7ipIU63621mmGG/WJuUCbC9uZndifB+YwiQ45v9Fd64KK3hEgJBhkT 1/7ZOxBMEqPpM+ZSHRgjS6cR7R2qQZSaX8bZ6b9e8trwqlj4AiZYFmETCiNJEPppe3 NQB6pARoaXMsLhSDgdiKN3dYZkpiGS0aVDH/sR4TfaSK7T+owO3EFG79yoeVxJhxWd 8RNEIqV6Tb15g== Message-ID: <2abf50cd-5738-48e0-af15-a8c010141deb@bastelstu.be> Date: Sun, 19 Oct 2025 22:09:52 +0200 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Subject: Re: [PHP-DEV] Deprecate Undefined Constant Usage in php.ini Files (GH-20060) To: Hans Krentel Cc: internals@lists.php.net References: <1760903162229.3857347732.451597939@yahoo.de> Content-Language: en-US In-Reply-To: <1760903162229.3857347732.451597939@yahoo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 10/19/25 21:47, Hans Krentel wrote: > As it does today, no change. If you use a word that would expand to a constant name as it does today, you need to quote it. That was not what I was asking for. You are proposing to warn for undefined constants. How do you plan to warn only for undefined constants, but not for unquoted strings? Best regards Tim Düsterhus