Lines Matching refs:dir
2 Test dir() function : usage variations - checking with wildcard characters
12 * Prototype : object dir(string $directory[, resource $context])
14 * Source code: ext/standard/dir.c
18 * Create more than one temporary directory & subdirectory and check if dir() function can open
22 echo "*** Testing dir() : checking with wildcard characters ***\n";
35 var_dump( dir($file_path."/dir_var*") );
36 var_dump( dir($file_path."/*") );
39 var_dump( dir($dir_path."/sub_dir?") );
40 var_dump( dir($dir_path."/sub?dir1") );
45 *** Testing dir() : checking with wildcard characters ***
48 Warning: dir(%s/dir_var*): failed to open dir: %s in %s on line %d
51 Warning: dir(%s/*): failed to open dir: %s in %s on line %d
55 Warning: dir(%s/dir_variation81/sub_dir?): failed to open dir: %s in %s on line %d
58 Warning: dir(%s/dir_variation81/sub?dir1): failed to open dir: %s in %s on line %d