is_executable

It checks whether the filename is executable

Example

<?php

echo is_executable(‘test.txt’)?”Yes”:”No”;

?>

Output

Yes

Share