1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/sapi/cli
Tim Düsterhus bca0c08408 Make the CLI mode available via the SAPI globals (#14479)
* 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.
2024-06-10 09:15:55 +02:00
..
2024-05-10 16:49:05 +02:00
2024-01-28 19:50:55 +01:00
2024-01-28 19:50:55 +01:00
2020-07-10 14:20:18 +02:00
2024-01-04 19:26:32 +01:00
2024-02-07 21:07:48 +01:00