[php-src] PR #22736: Implement declare(strict_namespace=1) to disable global name fallback

From: Date: Wed, 15 Jul 2026 00:41:04 +0000
Subject: [php-src] PR #22736: Implement declare(strict_namespace=1) to disable global name fallback
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37057@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22736 Author: pmjones This introduces a file-scoped declare that disables the global fallback on function and constant names. Unqualified functions and constants in a namespace resolve to the current namespace only when strict_namespace=1. The special constants true/false/null still resolve correctly. This is a compile-time change only; no VM, JIT, or runtime changes. RFC forthcoming.

« previous php.git-pulls (#37057) next »