/PHP-7.3/ext/standard/tests/streams/ |
H A D | glob-wrapper.phpt | 13 $dir = opendir($spec); 14 if (!$dir) { 18 if (false === readdir($dir)) { 28 Warning: opendir(%s): failed to open dir: Operation not permitted in %s%eglob-wrapper.php on line 5 34 Warning: opendir(glob://%s): failed to open dir: operation failed in %s%eglob-wrapper.php on line 5
|
/PHP-7.3/travis/ |
H A D | compile.sh | 45 --with-jpeg-dir=/usr \ 46 --with-png-dir=/usr \ 51 --with-zlib-dir=/usr \ 76 --with-freetype-dir=/usr \ 77 --with-xpm-dir=/usr \
|
/PHP-7.3/ext/spl/tests/ |
H A D | bug54291.phpt | 2 Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0) 5 $dir = new DirectoryIterator("\x00/abc"); 6 $dir->isFile();
|
/PHP-7.3/ext/standard/tests/dir/ |
H A D | scandir_error1.phpt | 5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 7 * Source code: ext/standard/dir.c 22 $dir = dirname(__FILE__) . '/scandir_error'; 23 mkdir($dir); 27 var_dump( scandir($dir, $sorting_order, $context, $extra_arg) );
|
H A D | scandir_error1-win32-mb.phpt | 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 13 * Source code: ext/standard/dir.c 28 $dir = dirname(__FILE__) . '/私はガラスを食べられますscandir_error'; 29 mkdir($dir); 33 var_dump( scandir($dir, $sorting_order, $context, $extra_arg) );
|
/PHP-7.3/ext/phar/tests/tar/ |
H A D | dir.phpt | 24 mkdir($pname . '/another/dir/'); 25 var_dump($phar['another/dir']->isDir()); 26 rmdir($pname . '/another/dir/'); 29 var_dump(file_exists($pname . '/another/dir/')); 31 var_dump(file_exists($pname3 . '/another/dir/'));
|
/PHP-7.3/ext/phar/tests/zip/ |
H A D | dir.phpt | 23 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/'));
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | fileinode_variation.phpt | 71 mkdir("$file_path/dir"); 72 print( fileinode("$file_path/dir") )."\n"; 75 mkdir("$file_path/dir/subdir"); 76 print( fileinode("$file_path/dir/subdir") )."\n"; 80 print( fileinode(b"$file_path/dir") )."\n"; 82 print( fileinode(b"$file_path/dir/subdir") ); 84 rmdir("$file_path/dir/subdir"); 85 rmdir("$file_path/dir");
|
H A D | lstat_stat_variation9.phpt | 21 /* test the effects on stats by deleting file/subdir from a dir 26 /* first create the dir/subdir and files, record the stat */ 27 @rmdir("$file_path/lstat_stat_variation9/"); // ensure that dir doesn't exists 28 mkdir("$file_path/lstat_stat_variation9/"); // temp dir 30 // creating and deleting subdir and files in the dir 32 @rmdir("$dirname/lstat_stat_variation9_subdir"); // ensure that dir doesn't exists
|
H A D | fopen_variation7.phpt | 15 $thisTestDir = basename(__FILE__, ".php") . ".dir"; 41 echo "Not created in working dir\n"; 44 echo "created in working dir\n"; 62 created in working dir 64 created in working dir
|
H A D | fopen_variation9.phpt | 15 $thisTestDir = basename(__FILE__, ".php") . ".dir"; 41 echo "Not created in working dir\n"; 44 echo "created in working dir\n"; 62 created in working dir 64 created in working dir
|
H A D | 005_error.phpt | 27 var_dump( fileatime("/no/such/file/or/dir") ); 28 var_dump( filemtime("/no/such/file/or/dir") ); 29 var_dump( filectime("/no/such/file/or/dir") ); 30 var_dump( touch("/no/such/file/or/dir", 10) ); 46 var_dump( fileatime("/no/such/file/or/dir", "string") ); 47 var_dump( filemtime("/no/such/file/or/dir", 100) ); 48 var_dump( filectime("/no/such/file/or/dir", TRUE) ); 49 var_dump( touch("/no/such/file/or/dir", 10, 100, 123) ); 63 Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d 66 Warning: filemtime(): stat failed for /no/such/file/or/dir in %s on line %d [all …]
|
/PHP-7.3/ext/phar/tests/ |
H A D | phar_extract3.phpt | 37 $dir = dirname(__FILE__) . '/test-extract3/'; 38 @unlink($dir . 'stuff.txt'); 39 @unlink($dir . 'nonsense.txt'); 40 @rmdir($dir);
|
H A D | fopen.phpt | 18 $a = fopen("dir/file1.txt", "r"); 26 $a['dir/file1.txt'] = 'hi'; 27 $a['dir/file2.txt'] = 'hi2'; 28 $a['dir/file3.txt'] = 'hi3'; 30 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
|
H A D | 027.phpt | 27 $dir = opendir($phar . $base); 32 while (false !== ($entry = readdir($dir))) { 47 echo "fseek on dir handle\n"; 51 echo "fwrite on dir handle\n"; 77 fseek on dir handle 84 fwrite on dir handle 89 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at … 93 Warning: opendir(phar://foo.phar/hi): failed to open dir: phar error: invalid url or non-existent p…
|
/PHP-7.3/ |
H A D | Makefile.gcov | 20 dir=lcov_data/`dirname $$x`; \ 21 test -d "$$dir" || $(mkinstalldirs) "$$dir"; \ 59 …for dir in ext/bcmath/libbcmath ext/date/lib ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmb… 60 if test -d lcov_data/$$dir; then \ 61 rm -rf lcov_data/$$dir ; \
|
/PHP-7.3/ext/zlib/tests/ |
H A D | gzopen_variation5.phpt | 20 $thisTestDir = "gzopenVariation5.dir"; 45 echo "Not created in working dir\n"; 48 echo "created in working dir\n"; 67 created in working dir 69 created in working dir
|
H A D | zlib_scheme_dir_basic.phpt | 11 $inputFileName = dirname(__FILE__)."/dir.gz"; 23 Warning: opendir(compress.zlib://%s/dir.gz): failed to open dir: not implemented in %s on line %d
|
/PHP-7.3/ext/gd/tests/ |
H A D | createfromstring.phpt | 10 $dir = dirname(__FILE__); 15 imagepng($im, $dir . '/tc.png'); 26 unlink($dir . '/tc.png'); 35 imagepng($im, $dir . '/p.png'); 50 unlink($dir . '/p.png');
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 371 dir, "Catalog", scn)) == -1) in cdf_file_catalog_info() 402 for (j = 0; str == NULL && j < dir->dir_len; j++) { in cdf_check_summary_info() 403 d = &dir->dir_tab[j]; in cdf_check_summary_info() 424 dir, scn); in cdf_check_summary_info() 514 if (cdf_find_stream(dir, si->sections[j], si->types[j]) in cdf_file_dir_info() 545 cdf_dir_t dir; in file_trycdf() local 589 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); in file_trycdf() 636 &sst, &dir, &scn)) == -1) { in file_trycdf() 642 &sst, &dir, &scn, root_storage, &expn); in file_trycdf() 646 i = cdf_file_dir_info(ms, &dir); in file_trycdf() [all …]
|
/PHP-7.3/ext/intl/tests/ |
H A D | resourcebundle.build | 9 $dir = new GlobIterator("$here/_files/*.txt", FilesystemIterator::KEY_AS_FILENAME); 11 foreach($dir as $file) { 15 $dir = new GlobIterator("$here/_files/resourcebundle/*.res", FilesystemIterator::KEY_AS_FILENAME); 16 foreach($dir as $file) {
|
/PHP-7.3/ext/zip/tests/ |
H A D | oo_rename.phpt | 22 $zip->addFromString('dir/entry2.txt', 'entry #2'); 42 if (!$zip->renameName('dir/entry2.txt', 'dir3/ren_entry2.txt')) { 43 echo "failed name dir/entry2.txt\n"; 53 2 dir/entry2.txt
|
/PHP-7.3/ext/openssl/tests/ |
H A D | bug37820.phpt | 9 $dir = dirname(__FILE__); 10 $file_pub = $dir . '/bug37820cert.pem'; 11 $file_key = $dir . '/bug37820key.pem';
|
/PHP-7.3/main/ |
H A D | php_open_temporary_file.c | 288 PHPAPI int php_open_temporary_fd_ex(const char *dir, const char *pfx, zend_string **opened_path_p, … in php_open_temporary_fd_ex() argument 300 if (!dir || *dir == '\0') { in php_open_temporary_fd_ex() 312 fd = php_do_open_temporary_file(dir, pfx, opened_path_p); in php_open_temporary_fd_ex() 323 PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, zend_string **opened_path_p) in php_open_temporary_fd() argument 325 return php_open_temporary_fd_ex(dir, pfx, opened_path_p, 0); in php_open_temporary_fd() 328 PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, zend_string **opened_path_p) in php_open_temporary_file() argument 331 int fd = php_open_temporary_fd(dir, pfx, opened_path_p); in php_open_temporary_file()
|
/PHP-7.3/tests/security/ |
H A D | open_basedir_opendir.phpt | 32 Warning: opendir(../bad): failed to open dir: %s in %s on line %d 37 Warning: opendir(../bad/bad.txt): failed to open dir: %s in %s on line %d 42 Warning: opendir(..): failed to open dir: %s in %s on line %d 47 Warning: opendir(../): failed to open dir: %s in %s on line %d 52 Warning: opendir(/): failed to open dir: %s in %s on line %d 57 Warning: opendir(../bad/.): failed to open dir: %s in %s on line %d 62 Warning: opendir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d 67 Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
|