]> granicus.if.org Git - php/blob
e77ca86349
[php] /
1 --TEST--
2 Test is_executable() function: error conditions
3 --FILE--
4 <?php
5 /* Prototype: bool is_executable ( string $filename );
6    Description: Tells whether the filename is executable
7 */
8
9 echo "\n*** Testing is_exceutable() on non-existent directory ***\n";
10 var_dump( is_executable(__DIR__."/is_executable") );
11
12 echo "Done\n";
13 --EXPECT--
14 *** Testing is_exceutable() on non-existent directory ***
15 bool(false)
16 Done