Home
last modified time | relevance | path

Searched refs:dir (Results 226 – 250 of 606) sorted by relevance

12345678910>>...25

/PHP-7.1/ext/pdo/tests/
H A Dpdo_020.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_38253.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_52098.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpdo_019.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpdo_032.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
/PHP-7.1/ext/standard/tests/dir/
H A Dscandir_variation7.phpt20 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
22 * Source code: ext/standard/dir.c
59 chmod ($dir_path, 0777); // change dir permission to allow all operation
64 // change the dir permisson to test dir on it
H A Dscandir_variation3.phpt5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
7 * Source code: ext/standard/dir.c
17 $dir = dirname(__FILE__) . '/scandir_variation3';
18 mkdir($dir);
94 var_dump( scandir($dir, $sorting_order, $input) );
103 $dir = dirname(__FILE__) . '/scandir_variation3';
104 rmdir($dir);
/PHP-7.1/ext/standard/tests/file/
H A Dfile_put_contents_variation8-win32.phpt32 "/no/such/file/dir" => "/no/such/file/dir",
89 -- Filename: /no/such/file/dir --
91 Warning: file_put_contents(/no/such/file/dir): failed to open stream: %s in %s on line %d
92 Failed to write data to: /no/such/file/dir
H A Drename_variation11-win32.phpt56 $dir = $allDirs[$i];
59 $res = rename($dir."\\".$fromFile, $dir."\\".$toFile);
62 $res = rename($dir."\\".$toFile, $dir."\\".$fromFile);
H A Dstat_variation6-win32.phpt2 Test stat() functions: usage variations - changing permissions of dir/file
17 /* test the effects on the stats of dir/file for changing permissions of dir/file */
26 mkdir($dirname); // temp dir
H A Dtempnam_variation2-win32.phpt10 /* Prototype: string tempnam ( string $dir, string $prefix );
14 /* Creating unique files in various dirs by passing relative paths to $dir arg */
66 echo "temp dir\n";
128 File created in => temp dir
140 File created in => temp dir
147 File created in => temp dir
169 File created in => temp dir
H A Dtempnam_variation2.phpt10 /* Prototype: string tempnam ( string $dir, string $prefix );
14 /* Creating unique files in various dirs by passing relative paths to $dir arg */
66 echo "temp dir\n";
128 File created in => temp dir
140 File created in => temp dir
147 File created in => temp dir
169 File created in => temp dir
H A Dmkdir_variation5.phpt54 foreach($dirs as $dir) {
55 echo "-- creating $dir --\n";
56 $res = mkdir($dir);
59 rmdir($dir);
H A Dtempnam_variation3.phpt10 /* Prototype: string tempnam ( string $dir, string $prefix );
33 "/no/such/file/dir",
42 /* creating the files in existing dir */
56 echo "temp dir\n";
115 File name is => %s/dir%s
H A Dlstat_stat_variation2.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
18 /* test the effects of rename() on stats of dir */
24 mkdir("$file_path/lstat_stat_variation1/"); // temp dir
H A Dtempnam_variation8-win32.phpt12 /* Prototype: string tempnam ( string $dir, string $prefix );
16 /* Creating unique files in various dirs by passing relative paths to $dir arg */
65 echo "temp dir\n";
122 File created in => temp dir
129 File created in => temp dir
151 File created in => temp dir
/PHP-7.1/ext/standard/tests/general_functions/
H A Dbug60723.phpt8 $dir = dirname(__FILE__);
9 $log = $dir . "/tmp.err";
/PHP-7.1/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc56 * @param string $dir
58 function mkdir($dir)
60 $this->zip->addEmptyDir($dir);
/PHP-7.1/ext/standard/tests/image/
H A Dimage_type_to_mime_type.phpt11 $dir = opendir(dirname(__FILE__)) or die('cannot open directory: '.dirname(__FILE__));
14 while (($file = readdir($dir)) !== FALSE) {
19 closedir($dir);
/PHP-7.1/ext/zlib/tests/
H A Dgzopen_variation4.phpt68 gzwrite($h, "This is a file in working dir");
80 //should read the file in working dir
88 gzwrite($h, "This is a file in script dir");
91 //should read the file in script dir
114 This is a file in working dir
115 This is a file in script dir
158 This is a file in working dir
159 This is a file in script dir
/PHP-7.1/ext/spl/tests/
H A Diterator_002.phpt39 $dir = new RecursiveIteratorIterator(new CrashIterator(new RecursiceArrayIterator($array)), Recursi…
41 foreach ($dir as $file) {
H A DDirectoryIterator_getGroup_basic.phpt18 $dir = new DirectoryIterator($dirname);
20 $actual = $dir->getGroup();
/PHP-7.1/ext/gettext/
H A Dgettext.c55 ZEND_ARG_INFO(0, dir)
248 char *domain, *dir; in PHP_NAMED_FUNCTION() local
252 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &domain, &domain_len, &dir, &dir_len) == FAILURE)… in PHP_NAMED_FUNCTION()
263 if (dir[0] != '\0' && strcmp(dir, "0")) { in PHP_NAMED_FUNCTION()
264 if (!VCWD_REALPATH(dir, dir_name)) { in PHP_NAMED_FUNCTION()
/PHP-7.1/win32/build/
H A Dconfig.w32.phpize.in23 ARG_ENABLE('object-out-dir', 'Alternate location for binary objects during build', '');
63 ARG_WITH("snapshot-template", "Path to snapshot builder template dir", "no");
81 // Find the php_build dir - it contains headers and libraries
83 …p.net/internals/windows/libs). Assumes that it is a sibling of this source dir (..\\deps) if not s…
102 STDOUT.WriteLine("Build dir: " + get_define('BUILD_DIR'));
113 /* default is as a sibling of the php_build dir */
/PHP-7.1/ext/phar/tests/
H A Ddir.phpt23 mkdir($pname . '/another/dir/');
24 var_dump($phar['another/dir']->isDir());
25 rmdir($pname . '/another/dir/');
28 var_dump(file_exists($pname . '/another/dir/'));
30 var_dump(file_exists($pname3 . '/another/dir/'));
47 rmdir($pname . '/another/dir');
85 Warning: rmdir(): phar error: cannot rmdir directory "phar://%sdir.phar.php/another/dir", write ope…

Completed in 30 milliseconds

12345678910>>...25