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