summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/is_executable_error.phpt
blob: e4b43095e3f07fce6858cc6887ee3d35a8799476 (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(dirname(__FILE__)."/is_executable") );

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