/PHP-5.3/ext/standard/tests/dir/ |
H A D | scandir_variation6.phpt | 11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]]) 13 * Source code: ext/standard/dir.c 17 * Pass a directory path using wildcards as $dir argument to test how scandir() behaves 55 Warning: scandir(%s/scandir_var*): failed to open dir: %s in %s on line %d 60 Warning: scandir(%s/*): failed to open dir: %s in %s on line %d 67 Warning: scandir(%s/scandir_variation6/sub_dir?): failed to open dir: %s in %s on line %d 72 Warning: scandir(%s/scandir_variation6/sub?dir1): failed to open dir: %s in %s on line %d
|
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 | 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-5.3/win32/ |
H A D | readdir.c | 22 DIR *opendir(const char *dir) in opendir() argument 31 if (!VCWD_REALPATH(dir, resolved_path_buff)) { in opendir() 63 dp->dir = strdup(resolved_path_buff); in opendir() 128 if (dp->dir) in closedir() 129 free(dp->dir); in closedir() 148 filespec = (char *)malloc(strlen(dp->dir) + 2 + 1); in rewinddir() 153 strcpy(filespec, dp->dir); in rewinddir()
|
/PHP-5.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-5.3/ |
H A D | Makefile.gcov | 19 dir=lcov_data/`dirname $$x`; \ 20 test -d "$$dir" || $(mkinstalldirs) "$$dir"; \ 48 …for dir in ext/bcmath/libbcmath ext/fileinfo/libmagic ext/gd/libgd ext/mbstring/libmbfl ext/mbstri… 49 test -d lcov_data/$$dir && rm -rf lcov_data/$$dir ; \
|
/PHP-5.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-5.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-5.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 | 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 …]
|
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 | 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 ***
|
/PHP-5.3/ext/phar/tests/ |
H A D | phar_extract3.phpt | 37 $dir = dirname(__FILE__) . '/test/'; 38 @unlink($dir . 'stuff.txt'); 39 @unlink($dir . 'nonsense.txt'); 40 @rmdir($dir);
|
H A D | fopen.phpt | 20 $a = fopen("dir/file1.txt", "r"); 28 $a['dir/file1.txt'] = 'hi'; 29 $a['dir/file2.txt'] = 'hi2'; 30 $a['dir/file3.txt'] = 'hi3'; 32 set_include_path("phar://" . __FILE__ . "/dir" . PATH_SEPARATOR . "phar://" . __FILE__);
|
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__);
|
/PHP-5.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-5.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
|
/PHP-5.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-5.3/ext/zip/tests/ |
H A D | oo_rename.phpt | 23 $zip->addFromString('dir/entry2.txt', 'entry #2'); 43 if (!$zip->renameName('dir/entry2.txt', 'dir3/ren_entry2.txt')) { 44 echo "failed name dir/entry2.txt\n"; 54 2 dir/entry2.txt
|
/PHP-5.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
|
/PHP-5.3/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-5.3/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);
|