summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/is_executable_error.phpt
blob: ad90d64435f7ac26f3862f48aac618bf292154ed (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";
--EXPECTF--
*** Testing is_exceutable() on non-existent directory ***
bool(false)
Done