Re: Deprecate Undefined Constant Usage in php.ini Files (GH-20060)
| From: | Tim Düsterhus | Date: | Sun, 19 Oct 2025 20:09:52 +0000 |
| Subject: | Re: Deprecate Undefined Constant Usage in php.ini Files (GH-20060) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128870@lists.php.net to get a copy of this message | ||
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