/PHP-7.0/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
|
/PHP-7.0/ext/standard/tests/dir/ |
H A D | opendir_variation6.phpt | 13 * Source code: ext/standard/dir.c 54 Warning: opendir(%s/opendir_var*): failed to open dir: %s in %s on line %d 57 Warning: opendir(%s/*): failed to open dir: %s in %s on line %d 62 Warning: opendir(%s/opendir_variation6/sub_dir?): failed to open dir: %s in %s on line %d 65 Warning: opendir(%s/opendir_variation6/sub?dir1): failed to open dir: %s in %s on line %d
|
/PHP-7.0/ext/phar/tests/ |
H A D | fopen5.2.phpt | 19 $a = fopen("dir/file1.txt", "r"); 27 $a['dir/file1.txt'] = 'hi'; 28 $a['dir/file2.txt'] = 'hi2'; 29 $a['dir/file3.txt'] = 'hi3'; 31 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
|
H A D | 027.phpt | 28 $dir = opendir($phar . $base); 33 while (false !== ($entry = readdir($dir))) { 48 echo "fseek on dir handle\n"; 52 echo "fwrite on dir handle\n"; 78 fseek on dir handle 85 fwrite on dir handle 90 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at … 94 Warning: opendir(phar://foo.phar/hi): failed to open dir: phar error: invalid url or non-existent p…
|
H A D | 027U.phpt | 28 $dir = opendir($phar . $base); 33 while (false !== ($entry = readdir($dir))) { 48 echo "fseek on dir handle\n"; 52 echo "fwrite on dir handle\n"; 78 fseek on dir handle 85 fwrite on dir handle 90 Warning: opendir(phar://): failed to open dir: phar error: no directory in "phar://", must have at … 94 Warning: opendir(phar://foo.phar/hi): failed to open dir: phar error: invalid url or non-existent p…
|
H A D | phar_dotted_path.phpt | 12 $dir = dirname(__FILE__) . '/broken.dirname'; 13 mkdir($dir, 0777); 15 $fname = $dir . '/dotted_path.phar';
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | is_dir_variation4.phpt | 10 /* Passing dir names with different notations, using slashes, wild-card chars */ 14 echo "*** Testing is_dir() with different notations of dir names ***"; 39 foreach($dirs_arr as $dir) { 41 var_dump( is_dir($file_path."/".$dir ) ); 54 *** Testing is_dir() with different notations of dir names ***
|
H A D | lstat_stat_variation8.phpt | 22 /* test the effects on stats with creating file/subdir in a dir 26 mkdir("$file_path/lstat_stat_variation8/"); // temp dir 28 // creating and deleting subdir and files in the dir 29 echo "*** Testing stat() on dir after subdir and file is created in it ***\n"; 57 *** Testing stat() on dir after subdir and file is created in it ***
|
H A D | stat_variation3-win32.phpt | 2 Test stat() functions: usage variations - effects of creating/deleting the dir/file 17 /* test the effects of creating & deleting of subdir/file on the stats of dir/file */ 24 mkdir("$file_path/stat_variation3/"); // temp dir 28 // creating and deleting subdir and files in the dir 29 echo "-- Testing stat() on dir after subdir and file is created in it --\n"; 71 -- Testing stat() on dir after subdir and file is created in it --
|
H A D | copy_variation12-win32.phpt | 2 Test copy() function: usage variations - dir as source 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"; 41 *** Test copy() function: Trying to create a copy of an existing dir ***
|
H A D | filetype_error.phpt | 8 dir, block, link, file, and unknown. 12 /* non-existing file or dir */ 13 print( filetype("/no/such/file/dir") ); 29 Warning: filetype(): Lstat failed for /no/such/file/dir in %s on line %d
|
/PHP-7.0/ext/zlib/tests/ |
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
|
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.0/ext/openssl/tests/ |
H A D | bug37820.phpt | 10 $dir = dirname(__FILE__); 11 $file_pub = $dir . '/bug37820cert.pem'; 12 $file_key = $dir . '/bug37820key.pem';
|
/PHP-7.0/ext/standard/tests/image/ |
H A D | getimagesize_246x247.phpt | 10 $dir = opendir(dirname(__FILE__)) or die('cannot open directory: '.dirname(__FILE__)); 13 while (($file = readdir($dir)) !== FALSE) { 18 closedir($dir);
|
H A D | getimagesize_384x385.phpt | 10 $dir = opendir(dirname(__FILE__)) or die('cannot open directory: '.dirname(__FILE__)); 13 while (($file = readdir($dir)) !== FALSE) { 18 closedir($dir);
|
/PHP-7.0/ext/spl/ |
H A D | spl_directory.c | 95 if (intern->u.dir.dirp) { in spl_filesystem_object_free_storage() 211 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read() 243 intern->u.dir.index = 0; in spl_filesystem_dir_open() 627 ZVAL_STRINGL(&tmp, intern->u.dir.sub_path, intern->u.dir.sub_path_len); in spl_filesystem_object_get_debug_info() 801 intern->u.dir.index++; in SPL_METHOD() 1509 if (intern->u.dir.sub_path && intern->u.dir.sub_path[0]) { in SPL_METHOD() 1510 …subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD() 1512 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD() 1513 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD() 1533 RETURN_STRINGL(intern->u.dir.sub_path, intern->u.dir.sub_path_len); in SPL_METHOD() [all …]
|
/PHP-7.0/ext/xmlwriter/ |
H A D | config.m4 | 9 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 10 [ --with-libxml-dir=DIR XMLWriter: libxml2 install prefix], no, no)
|
/PHP-7.0/ext/libxml/ |
H A D | config0.m4 | 9 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 10 [ --with-libxml-dir[=DIR] LIBXML: libxml2 install prefix], no, no)
|
/PHP-7.0/ext/filter/tests/ |
H A D | 041.phpt | 9 abc=dir; def=true; abc=root; xyz="foo bar"; 23 string(3) "dir" 30 string(3) "dir"
|
/PHP-7.0/ext/fileinfo/libmagic/ |
H A D | readcdf.c | 364 dir, "Catalog", scn)) <= 0) in cdf_file_catalog_info() 409 cdf_file_dir_info(struct magic_set *ms, const cdf_dir_t *dir) in cdf_file_dir_info() argument 416 if (cdf_find_stream(dir, si->sections[j], si->types[j]) in cdf_file_dir_info() 448 cdf_dir_t dir; in file_trycdf() local 480 if ((i = cdf_read_dir(&info, &h, &sat, &dir)) == -1) { in file_trycdf() 491 cdf_dump_dir(&info, &h, &sat, &ssat, &sst, &dir); in file_trycdf() 536 &dir, &scn); in file_trycdf() 539 i = cdf_file_dir_info(ms, &dir); in file_trycdf() 558 for (j = 0; str == NULL && j < dir.dir_len; j++) { in file_trycdf() 559 d = &dir.dir_tab[j]; in file_trycdf() [all …]
|
/PHP-7.0/ext/ftp/ |
H A D | config.m4 | 8 PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP, 9 [ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no)
|
/PHP-7.0/ext/xmlreader/ |
H A D | config.m4 | 9 PHP_ARG_WITH(libxml-dir, libxml2 install dir, 10 [ --with-libxml-dir=DIR XMLReader: libxml2 install prefix], no, no)
|
/PHP-7.0/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';
|