mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
* Remove tautologically false condition in php_cli.c * Make the CLI mode available via the SAPI globals 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.
2.1 KiB
2.1 KiB