posix_ttyname
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Determine terminal device name
<?php posix_ttyname
(
resource
|
int $file_descriptor
):
string
|
false