is_executable
reactphp/socket
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether the filename is executable
<?php is_executable
(
string $filename
):
bool