summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/is_executable_error.phpt
blob: e77ca86349fce1753500a2c8cf5441ced309af97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Test is_executable() function: error conditions
--FILE--
<?php
/* Prototype: bool is_executable ( string $filename );
   Description: Tells whether the filename is executable
*/

echo "\n*** Testing is_exceutable() on non-existent directory ***\n";
var_dump( is_executable(__DIR__."/is_executable") );

echo "Done\n";
--EXPECT--
*** Testing is_exceutable() on non-existent directory ***
bool(false)
Done