Lines Matching refs:dir
2 Test dir() function : usage variations - non-existent directory
12 * Prototype : object dir(string $directory[, resource $context])
14 * Source code: ext/standard/dir.c
18 * Passing a non-existent directory as argument to dir() function
21 echo "*** Testing dir() : open a non-existent directory ***\n";
29 $d = dir($dir_path);
30 $d->close(); //close the dir
37 var_dump( dir($dir_path) );
42 $d = dir($non_existent_dir);
48 *** Testing dir() : open a non-existent directory ***
51 Warning: dir(%s): failed to open dir: %s in %s on line %d
55 Warning: dir(%s): failed to open dir: %s in %s on line %d