Gets info on the environment php-cli is running in. (ClaudeAI and ChatGPT helped, mostly works)
| Returns | |
|---|---|
array
|
An array of booleans with string keys; windows, linux, desktop, headless, remote_desktop, ssh, modern_terminal, compat_layer, tty, interactive, daemon_or_cron. |