/PHP-7.4/ext/pdo/tests/ |
H A D | bug_40285.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_50458.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | pecl_bug_5772.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | pecl_bug_5809.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_43663.phpt | 7 $dir = getenv('REDIR_TEST_DIR'); 8 if (false == $dir) die('skip no driver'); 9 require_once $dir . 'pdo_test.inc';
|
H A D | bug_72788.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_36428.phpt | 7 $dir = getenv('REDIR_TEST_DIR'); 8 if (false == $dir) die('skip no driver'); 9 require_once $dir . 'pdo_test.inc';
|
H A D | pdo_027.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | pecl_bug_5217.phpt | 6 $dir = getenv('REDIR_TEST_DIR'); 7 if (false == $dir) die('skip no driver'); 8 require_once $dir . 'pdo_test.inc';
|
H A D | bug_61292.phpt | 6 $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 D | unixzip.phpt | 10 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 D | spl_directory.c | 81 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 D | readgzfile_variation15.phpt | 53 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 D | array_009.phpt | 8 $dir = new RecursiveIteratorIterator(new RecursiveArrayIterator($array), RecursiveIteratorIterator:… 10 foreach ($dir as $file) {
|
H A D | RecursiveDirectoryIterator_getSubPath_basic.phpt | 29 function rrmdir($dir) { 30 foreach(glob($dir . '/*') as $file) { 38 rmdir($dir);
|
/PHP-7.4/ext/standard/ |
H A D | php_dir.h | 23 PHP_MINIT_FUNCTION(dir); 24 PHP_RINIT_FUNCTION(dir);
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | copy_variation12.phpt | 2 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 D | lstat_stat_variation17.phpt | 2 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 D | disk_free_space_basic.phpt | 25 $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 D | rename_variation12-win32.phpt | 17 /* 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 D | rename_variation12.phpt | 17 /* 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 D | apptype.c | 49 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 D | 019.phpt | 25 $dir = opendir('phar://hio/b'); 27 if ($dir) { 28 while (false !== ($a = readdir($dir))) {
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | bug44295.phpt | 10 $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 D | bug39217.phpt | 9 $dir = __DIR__; 12 $res = openssl_x509_parse(file_get_contents($dir . '/' . $cert));
|