posix_isatty
reactphp/event-loop
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Determine if a file descriptor is an interactive terminal
<?php posix_isatty
(
resource
|
int $file_descriptor
):
bool