Home
last modified time | relevance | path

Searched refs:dir (Results 51 – 75 of 598) sorted by relevance

12345678910>>...24

/PHP-7.2/ext/xml/
H A Dconfig.m49 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
10 [ --with-libxml-dir=DIR XML: libxml2 install prefix], no, no)
13 PHP_ARG_WITH(libexpat-dir, libexpat install dir,
14 [ --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)], no, no)
19 dnl Default to libxml2 if --with-libexpat-dir is not used.
31 AC_MSG_ERROR([libxml2 not found. Use --with-libxml-dir=<DIR>])
36 dnl Check for expat only if --with-libexpat-dir is used.
/PHP-7.2/ext/standard/tests/file/
H A Dunlink_variation1-win32-mb.phpt15 /* Delete file having default permission but its dir having readonly permission
16 Delete file having readonly permission but dir having default permission
23 // temp dir name used here
29 // create temp dir
35 echo "-- Unlink file having default permission and its dir having read only permission --\n";
37 // on windows dir permission is not respected
43 // remove the dir
48 // create the temp dir
66 // remove temp dir
74 -- Unlink file having default permission and its dir having read only permission --
[all …]
H A Dunlink_variation1-win32.phpt15 /* Delete file having default permission but its dir having readonly permission
16 Delete file having readonly permission but dir having default permission
22 // temp dir name used here
28 // create temp dir
34 echo "-- Unlink file having default permission and its dir having read only permission --\n";
36 // on windows dir permission is not respected
42 // remove the dir
47 // create the temp dir
65 // remove temp dir
72 -- Unlink file having default permission and its dir having read only permission --
[all …]
H A Drename_variation1.phpt21 /* Testing a dir with trailing slash */
24 /* Testing dir with double trailing slashes */
37 // create the src dir
39 // rename the src dir to a new dir in dest dir
41 // ensure that dir was renamed
45 // remove the new dir
H A Ddisk_free_space_variation.phpt23 $dir = "/disk_free_space";
24 mkdir($file_path.$dir);
28 $file_path.$dir,
29 $file_path."/.".$dir,
32 $file_path."".$dir."/",
33 $file_path."/.".$dir."/",
36 $file_path.$dir."//",
37 $file_path."/.".$dir."//",
38 $file_path."/./".$dir."//",
41 $file_path.$dir.chr(0),
[all …]
H A Dtempnam_variation7-win32.phpt14 /* Passing invalid/non-existing args for $dir,
31 "/no/such/file/dir",
52 echo "temp dir\n";
72 File created in => temp dir
78 File created in => temp dir
82 File created in => temp dir
86 File created in => temp dir
90 File created in => temp dir
96 File created in => temp dir
114 File created in => temp dir
[all …]
H A Dtempnam_variation7.phpt14 /* Passing invalid/non-existing args for $dir,
31 "/no/such/file/dir",
54 echo "temp dir\n";
77 File created in => temp dir
83 File created in => temp dir
87 File created in => temp dir
91 File created in => temp dir
95 File created in => temp dir
101 File created in => temp dir
119 File created in => temp dir
[all …]
H A Dunlink_variation1.phpt25 /* Delete file having default permission but its dir having readonly permission
26 Delete file having readonly permission but dir having default permission
32 // temp dir name used here
38 // create temp dir
44 echo "-- Unlink file having default permission and its dir having read only permission --\n";
51 // remove the dir
56 echo "\n-- Unlinking file without write permission, its dir having default permission --\n";
57 // create the temp dir
69 // remove temp dir
76 -- Unlink file having default permission and its dir having read only permission --
[all …]
H A Drename_variation1-win32.phpt26 /* Testing a dir with trailing slash */
29 /* Testing dir with double trailing slashes */
44 // create the src dir
46 // rename the src dir to a new dir in dest dir
48 // ensure that dir was renamed
52 // remove the new dir
/PHP-7.2/ext/standard/tests/directory/
H A Dbug74589_utf8.phpt19 $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . $item;
20 $test_file = $dir . DIRECTORY_SEPARATOR . "test.php";
22 mkdir($dir);
44 $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . $item;
45 $test_file = $dir . DIRECTORY_SEPARATOR . "test.php";
47 rmdir($dir);
/PHP-7.2/ext/opcache/tests/
H A Drevalidate_path_01.phpt12 $dir = dirname(__FILE__);
13 $dir1 = "$dir/test1";
14 $dir2 = "$dir/test2";
15 $link = "$dir/test";
18 $main = "$dir/main.php";
57 $dir = dirname(__FILE__);
58 $dir1 = "$dir/test1";
59 $dir2 = "$dir/test2";
60 $link = "$dir/test";
63 $main = "$dir/main.php";
/PHP-7.2/ext/standard/tests/file/windows_mb_path/
H A Dutil.inc98 echo "failed to create dir '$full'\n";
102 function remove_data($id, $dir = NULL)
104 if (!$dir) {
105 $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . $id;
108 if (is_dir($dir)) {
109 $objects = scandir($dir);
112 if (filetype($dir . DIRECTORY_SEPARATOR . $object) == "dir")
113 remove_data($id, $dir . DIRECTORY_SEPARATOR . $object);
115 unlink($dir . DIRECTORY_SEPARATOR . $object);
119 rmdir($dir);
[all …]
H A Dtest_readdir_mb_names.phpt2 Test readdir() with a dir for multibyte filenames
60 filename: . : filetype: dir
61 filename: .. : filetype: dir
64 filename: tschüß3 : filetype: dir
66 filename: Voláçao3 : filetype: dir
69 filename: żółć : filetype: dir
73 filename: привет3 : filetype: dir
75 filename: テストマルチバイト・パス42 : filetype: dir
77 filename: 測試多字節路徑5 : filetype: dir
/PHP-7.2/scripts/
H A Dphp-config.in54 --extension-dir)
56 --include-dir)
64 --man-dir)
78 --extension-dir [$extension_dir]
79 --include-dir [$include_dir]
80 --man-dir [$man_dir]
/PHP-7.2/ext/standard/tests/dir/
H A Dbug78220.phpt10 foreach ($onedrive_dirs as $dir) {
11 if ($dir && scandir($dir) === FALSE) {
12 echo "can't scan $dir\n";
H A Dscandir_variation1.phpt2 Test scandir() function : usage variations - different data types as $dir arg
13 * Source code: ext/standard/dir.c
42 // unexpected values to be passed to $dir argument
107 Warning: scandir(0): failed to open dir: %s in %s on line %d
114 Warning: scandir(1): failed to open dir: %s in %s on line %d
121 Warning: scandir(12345): failed to open dir: %s in %s on line %d
128 Warning: scandir(-2345): failed to open dir: %s in %s on line %d
135 Warning: scandir(10.5): failed to open dir: %s in %s on line %d
163 Warning: scandir(0.5): failed to open dir: %s in %s on line %d
180 Warning: scandir(1): failed to open dir: %s in %s on line %d
[all …]
H A Ddir_variation4.phpt2 Test dir() function : usage variations - operate on previously opened directory
6 * Prototype : object dir(string $directory[, resource $context])
8 * Source code: ext/standard/dir.c
12 * Testing the behavior of dir() function by trying to open a
16 echo "*** Testing dir() : operate on previously opened directory ***\n";
30 $d = dir($dir_path);
34 $e = dir($dir_path);
55 *** Testing dir() : operate on previously opened directory ***
/PHP-7.2/ext/phar/tests/
H A Dbug77586.phpt7 $dir = __DIR__."/bug77586";
8 $phar = new PharData($dir . "/bug77586.tar");
9 $phar->buildFromDirectory($dir . "/files");
13 $dir = __DIR__."/bug77586";
14 unlink($dir . "/bug77586.tar");
H A Dfile_get_contents.phpt13 echo file_get_contents("dir/file1.txt");
16 $a['dir/file1.txt'] = 'hi';
17 $a['dir/file2.txt'] = 'hi2';
18 $a['dir/file3.txt'] = 'hi3';
21 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
H A Dreadfile.phpt13 readfile("dir/file1.txt");
16 $a['dir/file1.txt'] = 'hi';
17 $a['dir/file2.txt'] = 'hi2';
18 $a['dir/file3.txt'] = 'hi3';
21 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
/PHP-7.2/ext/standard/tests/streams/
H A Dbug49936_win32.phpt13 $dir = 'ftp://your:self@localhost/';
15 var_dump(opendir($dir));
16 var_dump(opendir($dir));
23 Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
29 Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
/PHP-7.2/ext/xmlrpc/
H A Dconfig.m414 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
15 [ --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix], no, no)
18 PHP_ARG_WITH(libexpat-dir, libexpat dir for XMLRPC-EPI,
19 [ --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)],no,no)
21 PHP_ARG_WITH(iconv-dir, iconv dir for XMLRPC-EPI,
22 [ --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI],no,no)
31 dnl Default to libxml2 if --with-libexpat-dir is not used
45 AC_MSG_ERROR([libxml2 not found. Use --with-libxml-dir=<DIR>])
60 AC_MSG_ERROR([XML-RPC support requires libexpat. Use --with-libexpat-dir=<DIR> (deprecated!)])
100 dnl queue.h or base64.h. Distributions have to create dir
/PHP-7.2/ext/spl/tests/
H A DDirectoryIterator_getBasename_basic_test.phpt10 $dir = new DirectoryIterator($targetDir.DIRECTORY_SEPARATOR);
11 while(!$dir->isFile()) {
12 $dir->next();
14 echo $dir->getBasename('.txt');
H A Dspl_autoload_014.phpt10 private $dir;
11 public function __construct($dir) {
12 $this->dir = $dir;
15 echo ("Autoloader('{$this->dir}') called with $class\n");
/PHP-7.2/ext/openssl/tests/
H A Dbug76296.phpt7 $dir = __DIR__ . '/bug76296_openbasedir';
9 if (!is_dir($dir)) {
10 mkdir($dir);
13 ini_set('open_basedir', $dir);

Completed in 29 milliseconds

12345678910>>...24