Home
last modified time | relevance | path

Searched refs:dir (Results 176 – 200 of 527) sorted by relevance

12345678910>>...22

/PHP-8.2/ext/pdo/tests/
H A Dbug_35671.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpdo_028.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpdo_038.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpdo_004.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpdo_003.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpdo_033.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
10 require_once $dir . 'pdo_test.inc';
H A Dpdo_039.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
10 require_once $dir . 'pdo_test.inc';
H A Dbug_38394.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
10 require_once $dir . 'pdo_test.inc';
/PHP-8.2/ext/zlib/tests/
H A Dgzopen_variation4.phpt62 gzwrite($h, "This is a file in working dir");
76 //should read the file in working dir
86 gzwrite($h, "This is a file in script dir");
89 //should read the file in script dir
112 This is a file in working dir
113 This is a file in script dir
131 This is a file in working dir
132 This is a file in script dir
H A Dgzfile_variation15.phpt47 gzwrite($h, "This is a file in working dir");
63 gzwrite($h, "This is a file in script dir");
66 //should read the file in script dir
95 string(29) "This is a file in working dir"
100 string(28) "This is a file in script dir"
/PHP-8.2/ext/standard/tests/file/
H A Dlstat_stat_variation19.phpt2 Test lstat() and stat() functions: usage variations - dir/file names in array
5 /* test for stats of dir/file when their names are stored in an array */
12 @rmdir("$file_path/lstat_stat_variation19"); // ensure that dir doesn't exists
13 mkdir("$file_path/lstat_stat_variation19"); // temp dir
29 "dir" => "$file_path/lstat_stat_variation19"
36 echo "\n-- Testing stat() on dir name stored inside an array --\n";
38 var_dump( stat($names_with_key["dir"]) ); // value stored with string key
161 -- Testing stat() on dir name stored inside an array --
H A Dfile_get_contents_variation7-win32-mb.phpt13 $mainDir = "fileGetContentsVar7私はガラスを食べられます.dir";
52 $dir = $allDirs[$i];
54 var_dump(file_get_contents($dir."\\".$filename));
81 Warning: file_get_contents(%sfileGetContentsVar7私はガラスを食べられます.dir\fileGetContentsVar7Sub私はガラスを食べられます…
86 Warning: file_get_contents(%sfileGetContentsVar7私はガラスを食べられます.dir\fileGetContentsVar7Sub私はガラスを食べられます…
H A Dfile_get_contents_variation7-win32.phpt13 $mainDir = "fileGetContentsVar7.dir";
52 $dir = $allDirs[$i];
54 var_dump(file_get_contents($dir."\\".$filename));
81 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\..\\\fileGetContentsVar…
86 Warning: file_get_contents(%sfileGetContentsVar7.dir\fileGetContentsVar7Sub\BADDIR\FileGetContentsV…
H A Dfile_variation8-win32.phpt13 $mainDir = "fileVar8_win32.dir";
52 $dir = $allDirs[$i];
54 var_dump(file($dir."\\".$filename));
93 Warning: file(%sfileVar8_win32.dir\fileVar8Sub\..\\\fileVar8Sub\\..\\..\fileVar8Sub\FileGetContents…
98 Warning: file(%sfileVar8_win32.dir\fileVar8Sub\BADDIR\FileGetContentsVar7.tmp): Failed to open stre…
H A Dflock_basic.phpt10 echo "*** Testing flock() fun with file and dir ***\n";
22 $lock_dir = sprintf("%s.dir", preg_replace("~\.phpt?$~", '', __FILE__));
36 *** Testing flock() fun with file and dir ***
H A Dparse_ini_file_variation6-win32-mb.phpt13 $mainDir = "parseIniFileVar私はガラスを食べられます.dir";
53 $dir = $allDirs[$i];
55 var_dump(parse_ini_file($dir."\\".$filename));
94 Warning: parse_ini_file(%sparseIniFileVar私はガラスを食べられます.dir\parseIniFileVar私はガラスを食べられますSub\..\\\parse…
99 Warning: parse_ini_file(%sparseIniFileVar私はガラスを食べられます.dir\parseIniFileVar私はガラスを食べられますSub\BADDIR\par…
H A Dparse_ini_file_variation6-win32.phpt13 $mainDir = "parseIniFileVar6.dir";
53 $dir = $allDirs[$i];
55 var_dump(parse_ini_file($dir."\\".$filename));
94 Warning: parse_ini_file(%sparseIniFileVar6.dir\parseIniFileVar6Sub\..\\\parseIniFileVar6Sub\\..\\..…
99 Warning: parse_ini_file(%sparseIniFileVar6.dir\parseIniFileVar6Sub\BADDIR\ParseIniFileVar6.ini): Fa…
H A Dbug41874.phpt9 $result = exec('cd 1:\non_existent; dir nonexistent');
11 system('cd 1:\non_existent; dir nonexistent');
H A Dlstat_stat_variation2.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
5 /* test the effects of rename() on stats of dir */
11 mkdir("$file_path/lstat_stat_variation1/"); // temp dir
/PHP-8.2/ext/spl/tests/
H A Darray_009a.phpt21 $dir = new RecursiveIteratorIterator(new MyRecursiveArrayIterator($array), RecursiveIteratorIterato…
23 foreach ($dir as $file) {
/PHP-8.2/scripts/dev/
H A Dcheck_parameters.php364 foreach($dirs as $dir) {
365 if (is_dir($dir)) {
366 if (!is_readable($dir)) {
367 echo "ERROR: directory '", $dir ,"' is not readable\n";
371 echo "ERROR: bogus directory '", $dir ,"'\n";
377 foreach ($dirs as $dir) {
378 recurse(realpath($dir));
/PHP-8.2/ext/phar/tests/
H A D027.phpt25 $dir = opendir($phar . $base);
30 while (false !== ($entry = readdir($dir))) {
45 echo "fseek on dir handle\n";
49 echo "fwrite on dir handle\n";
74 fseek on dir handle
81 fwrite on dir handle
/PHP-8.2/ext/gettext/
H A Dgettext.c169 zend_string *dir = NULL; in PHP_FUNCTION() local
172 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sS!", &domain, &domain_len, &dir) == FAILURE) { in PHP_FUNCTION()
183 if (dir == NULL) { in PHP_FUNCTION()
187 if (ZSTR_LEN(dir) != 0 && !zend_string_equals_literal(dir, "0")) { in PHP_FUNCTION()
188 if (!VCWD_REALPATH(ZSTR_VAL(dir), dir_name)) { in PHP_FUNCTION()
/PHP-8.2/ext/standard/tests/streams/
H A Duser_streams_context_001.phpt8 if (stream_wrapper_register('foo', Wrapper::class)) dir('foo://');
13 #0 %suser_streams_context_001.php(5): dir('foo://')
/PHP-8.2/ext/mbstring/ucgendat/
H A Ductest.php4 $dir = __DIR__; variable
5 $unicodeDataFile = $dir . '/UnicodeData.txt';
6 $caseFoldingFile = $dir . '/CaseFolding.txt';
7 $specialCasingFile = $dir . '/SpecialCasing.txt';

Completed in 27 milliseconds

12345678910>>...22