Home
last modified time | relevance | path

Searched refs:dir (Results 126 – 150 of 560) sorted by relevance

12345678910>>...23

/PHP-7.4/ext/pdo/tests/
H A Dbug_40285.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_50458.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpecl_bug_5772.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpecl_bug_5809.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_43663.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dbug_72788.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_36428.phpt7 $dir = getenv('REDIR_TEST_DIR');
8 if (false == $dir) die('skip no driver');
9 require_once $dir . 'pdo_test.inc';
H A Dpdo_027.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dpecl_bug_5217.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
H A Dbug_61292.phpt6 $dir = getenv('REDIR_TEST_DIR');
7 if (false == $dir) die('skip no driver');
8 require_once $dir . 'pdo_test.inc';
/PHP-7.4/ext/phar/tests/zip/
H A Dunixzip.phpt10 echo "dir " . $b->getPathName() . "\n";
22 dir phar://%s/zip.zip%cempty
26 dir phar://%s/zip.zip%cnotempty
/PHP-7.4/ext/spl/
H A Dspl_directory.c81 if (intern->u.dir.dirp) { in spl_filesystem_object_destroy_object()
236 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
268 intern->u.dir.index = 0; in spl_filesystem_dir_open()
649 ZVAL_STRINGL(&tmp, intern->u.dir.sub_path, intern->u.dir.sub_path_len); in spl_filesystem_object_get_debug_info()
824 intern->u.dir.index++; in SPL_METHOD()
1546 if (intern->u.dir.sub_path && intern->u.dir.sub_path[0]) { in SPL_METHOD()
1547 …subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD()
1549 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD()
1550 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD()
1570 RETURN_STRINGL(intern->u.dir.sub_path, intern->u.dir.sub_path_len); in SPL_METHOD()
[all …]
/PHP-7.4/ext/zlib/tests/
H A Dreadgzfile_variation15.phpt53 gzwrite($h, "This is a file in working dir");
64 //should read the file in working dir
71 gzwrite($h, "This is a file in script dir");
74 //should read the file in script dir
91 file content:This is a file in working dir
92 file content:This is a file in script dir
/PHP-7.4/ext/spl/tests/
H A Darray_009.phpt8 $dir = new RecursiveIteratorIterator(new RecursiveArrayIterator($array), RecursiveIteratorIterator:…
10 foreach ($dir as $file) {
H A DRecursiveDirectoryIterator_getSubPath_basic.phpt29 function rrmdir($dir) {
30 foreach(glob($dir . '/*') as $file) {
38 rmdir($dir);
/PHP-7.4/ext/standard/
H A Dphp_dir.h23 PHP_MINIT_FUNCTION(dir);
24 PHP_RINIT_FUNCTION(dir);
/PHP-7.4/ext/standard/tests/file/
H A Dcopy_variation12.phpt2 Test copy() function: usage variations - dir as source (Bug #42111)
15 /* Test copy(): Trying to create a copy of an existing dir */
19 echo "*** Test copy() function: Trying to create a copy of an existing dir ***\n";
39 *** Test copy() function: Trying to create a copy of an existing dir ***
H A Dlstat_stat_variation17.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir
19 /* test the effects on stats by changing permissions of a dir */
25 echo "*** Testing lstat() on a dir after changing its access permission ***\n";
50 *** Testing lstat() on a dir after changing its access permission ***
H A Ddisk_free_space_basic.phpt25 $dir = "/disk_free_space";
26 mkdir($file_path.$dir);
28 $space1 = disk_free_space($file_path.$dir);
31 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a");
37 $space2 = disk_free_space($file_path.$dir);
H A Drename_variation12-win32.phpt17 /* Creating unique files in various dirs by passing relative paths to $dir arg */
53 $dir = $allDirs[$i];
56 $res = rename($dir."/".$fromFile, $dir."/".$toFile);
59 $res = rename($dir."/".$toFile, $dir."/".$fromFile);
H A Drename_variation12.phpt17 /* Creating unique files in various dirs by passing relative paths to $dir arg */
53 $dir = $allDirs[$i];
56 $res = rename($dir."/".$fromFile, $dir."/".$toFile);
59 $res = rename($dir."/".$toFile, $dir."/".$fromFile);
/PHP-7.4/ext/fileinfo/libmagic/
H A Dapptype.c49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local
61 _splitpath(filename, drive, dir, fname, ext); in file_os2_apptype()
63 (*dir == '\0') ? "./" : dir, in file_os2_apptype()
/PHP-7.4/ext/phar/tests/
H A D019.phpt25 $dir = opendir('phar://hio/b');
27 if ($dir) {
28 while (false !== ($a = readdir($dir))) {
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug44295.phpt10 $dir = '/this/path/does/not/exist';
17 $iter = new DirectoryIterator($dir);
28 in catch: DirectoryIterator::__construct(/this/path/does/not/exist): failed to open dir: No such fi…
/PHP-7.4/ext/openssl/tests/
H A Dbug39217.phpt9 $dir = __DIR__;
12 $res = openssl_x509_parse(file_get_contents($dir . '/' . $cert));

Completed in 42 milliseconds

12345678910>>...23