isInteractive.php
Table of Contents
Functions
- isInteractive() : bool
- Checks if the script is running in an interactive CLI (php -a or terminal input).
Functions
isInteractive()
Checks if the script is running in an interactive CLI (php -a or terminal input).
isInteractive() : bool
Tags
Return values
bool —true if interactive CLI, false otherwise