[php-src] PR #14479: Make the CLI mode available via the SAPI globals

From: Date: Wed, 05 Jun 2024 10:57:28 +0000
Subject: [php-src] PR #14479: Make the CLI mode available via the SAPI globals
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26544@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14479 Author: TimWolla When hooking into RINIT it is currently pretty much impossible to determine whether a file will actually be executed or if it just will be linted, highlighted, or comments stripped: The startup is identical for all of them and the chosen mode is not currently exposed to other extensions. The SG(server_context) is currently entirely unused for the cli SAPI. It appears to be appropriate to store the mode as a SAPI-specific information inside of it.

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