/PHP-5.3/ext/standard/tests/file/ |
H A D | 001-win32.phpt | 14 @unlink('test.file'); 44 echo "test.file is " . filetype('test.file') . "\n"; 46 echo "test.file size is " . filesize('test.file') . "\n"; 58 echo "test.file is a regular file\n"; 60 echo "test.file is not a regular file\n"; 72 unlink('test.file'); 87 test.file exists 89 test.file exists 90 test.file is file 92 test.file size is 0 [all …]
|
H A D | is_executable_basic.phpt | 30 // create a file 45 // delete the temp file 52 -- Changing mode of file to 0 -- 54 -- Changing mode of file to 1 -- 56 -- Changing mode of file to 2 -- 58 -- Changing mode of file to 3 -- 60 -- Changing mode of file to 4 -- 62 -- Changing mode of file to 5 -- 64 -- Changing mode of file to 6 -- 66 -- Changing mode of file to 7 -- [all …]
|
H A D | is_readable_basic-win32.phpt | 20 // create a file 35 // delete the temp file 42 -- Changing mode of file to 0 -- 44 -- Changing mode of file to 1 -- 46 -- Changing mode of file to 2 -- 48 -- Changing mode of file to 3 -- 50 -- Changing mode of file to 4 -- 52 -- Changing mode of file to 5 -- 54 -- Changing mode of file to 6 -- 56 -- Changing mode of file to 7 -- [all …]
|
H A D | is_readable_basic.phpt | 30 // create a file 45 // delete the temp file 52 -- Changing mode of file to 0 -- 54 -- Changing mode of file to 1 -- 56 -- Changing mode of file to 2 -- 58 -- Changing mode of file to 3 -- 60 -- Changing mode of file to 4 -- 62 -- Changing mode of file to 5 -- 64 -- Changing mode of file to 6 -- 66 -- Changing mode of file to 7 -- [all …]
|
H A D | is_executable_basic-win32.phpt | 18 // create a file 33 // delete the temp file 40 -- Changing mode of file to 0 -- 42 -- Changing mode of file to 1 -- 44 -- Changing mode of file to 2 -- 46 -- Changing mode of file to 3 -- 48 -- Changing mode of file to 4 -- 50 -- Changing mode of file to 5 -- 52 -- Changing mode of file to 6 -- 54 -- Changing mode of file to 7 -- [all …]
|
H A D | unlink_variation8.phpt | 114 file removed 116 file unlinked 118 file unlinked 120 file removed 122 file unlinked 124 file unlinked 126 file removed 128 file unlinked 150 file removed 156 file removed [all …]
|
H A D | 001.phpt | 13 @unlink('test.file'); 63 echo "test.file is " . filetype('test.file') . "\n"; 66 echo "test.file size is " . filesize('test.file') . "\n"; 83 echo "test.file is a regular file\n"; 85 echo "test.file is not a regular file\n"; 107 unlink('test.file'); 123 test.file exists 127 test.file exists 133 test.file is file 136 test.file size is 0 [all …]
|
H A D | is_writable_basic.phpt | 29 // create a file 45 // delete the temp file 52 -- Changing mode of file to 0 -- 55 -- Changing mode of file to 1 -- 58 -- Changing mode of file to 2 -- 61 -- Changing mode of file to 3 -- 64 -- Changing mode of file to 4 -- 67 -- Changing mode of file to 5 -- 70 -- Changing mode of file to 6 -- 73 -- Changing mode of file to 7 -- [all …]
|
H A D | copy_variation2.phpt | 72 echo "Size of source file => "; 102 Size of source file => int(1500) 109 Size of source file => int(1500) 116 Size of source file => int(1500) 123 Size of source file => int(1500) 130 Size of source file => int(1500) 137 Size of source file => int(1500) 144 Size of source file => int(1500) 151 Size of source file => int(1500) 158 Size of source file => int(1500) [all …]
|
H A D | copy_variation2-win32.phpt | 101 Size of source file => int(1500) 108 Size of source file => int(1500) 115 Size of source file => int(1500) 122 Size of source file => int(1500) 141 Size of source file => int(1500) 148 Size of source file => int(1500) 155 Size of source file => int(1500) 168 Size of source file => int(1500) 175 Size of source file => int(1500) 182 Size of source file => int(1500) [all …]
|
H A D | fopen_variation14-win32.phpt | 29 $files = array("file://$testDir\\$file", 30 "file://$testDir/$file", 31 "file://./$testDir/$file", 32 "file://.\\$testDir\\$file", 33 "file://$absTestDir/$file", 34 "file://$absTestDir\\$file", 35 "file://$unixifiedDir/$file" 41 $files = array("file://../$testDir/$file", 43 "file://$absTestDir/$file", 44 "file://$absTestDir\\$file", [all …]
|
H A D | fread_variation2.phpt | 16 include ("file.inc"); 82 // read from file, by giving the file actual size, 118 -- Reading file content less than max. file size, expeceted : 0 bytes -- 133 -- Reading file content less than max. file size, expeceted : 0 bytes -- 148 -- Reading file content less than max. file size, expeceted : 0 bytes -- 163 -- Reading file content less than max. file size, expeceted : 0 bytes -- 178 -- Reading file content less than max. file size, expeceted : 0 bytes -- 193 -- Reading file content less than max. file size, expeceted : 0 bytes -- 208 -- Reading file content less than max. file size, expeceted : 0 bytes -- 223 -- Reading file content less than max. file size, expeceted : 0 bytes -- [all …]
|
H A D | copy_variation1.phpt | 25 "copy.tmp", //regular file name 57 echo "Size of source file => "; 87 Size of source file => int(1500) 94 Size of source file => int(1500) 100 Destination file name => %s/.tmp 101 Size of source file => int(1500) 108 Size of source file => int(1500) 115 Size of source file => int(1500) 121 Destination file name => %s/123 122 Size of source file => int(1500) [all …]
|
H A D | fopen_variation15-win32.phpt | 32 $files = array("file://$testDir\\$file", 33 "file://$testDir/$file", 34 "file://./$testDir/$file", 35 "file://.\\$testDir\\$file", 36 "file://$absTestDir/$file", 37 "file://$absTestDir\\$file", 38 "file://$unixifiedDir/$file" 44 $files = array("file://../$testDir/$file", 46 "file://$absTestDir/$file", 47 "file://$absTestDir\\$file", [all …]
|
H A D | unlink_variation8-win32.phpt | 22 $tmpFile = "file.tmp"; 63 touch($file); 75 unlink($file); 83 file removed 85 file removed 87 file removed 95 file removed 97 file removed 99 file removed 110 file removed [all …]
|
H A D | unlink_variation9-win32.phpt | 22 $tmpFile = "file.tmp"; 63 touch($file); 85 file removed 87 file removed 89 file removed 97 file removed 99 file removed 101 file removed 112 file removed 114 file removed [all …]
|
H A D | fread_variation1.phpt | 14 Read entire file 18 include ("file.inc"); 83 // read from file, by giving the file actual size, 119 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 134 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 149 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 164 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 179 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 194 -- Reading file content less than max. file size, expeceted : 1000 bytes -- 209 -- Reading file content less than max. file size, expeceted : 1000 bytes -- [all …]
|
H A D | ftruncate_variation1.phpt | 13 Description: Truncates a file to a given length 16 // include common file related test functions 17 include ("file.inc"); 21 /* test ftruncate with file opened in different modes */ 35 // create 1 file with some contents 38 // fopen the file using the $file_modes 43 // fopen the file using the $file_modes 47 echo "Error: failed to open file $filename!\n"; 51 rewind($file_handle); // file pointer to 0 76 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | ftruncate_variation1-win32.phpt | 13 Description: Truncates a file to a given length 16 // include common file related test functions 17 include ("file.inc"); 21 /* test ftruncate with file opened in different modes */ 35 // create 1 file with some contents 38 // fopen the file using the $file_modes 43 // fopen the file using the $file_modes 47 echo "Error: failed to open file $filename!\n"; 51 rewind($file_handle); // file pointer to 0 76 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | copy_variation16.phpt | 33 echo "- Size of source file => "; 53 echo "Size of source file => "; 85 - Size of source file => int(3500) 89 Size of source file => int(3500) 96 Size of source file => int(3500) 103 Size of source file => int(3500) 110 Size of source file => int(3500) 117 Size of source file => int(3500) 124 Size of source file => int(3500) 131 Size of source file => int(3500) [all …]
|
H A D | copy_variation6.phpt | 31 echo "Size of source file => "; 61 echo "Size of source file => "; 84 Size of source file => int(0) 91 Size of source file => int(0) 98 Size of source file => int(0) 105 Size of source file => int(0) 112 Size of source file => int(0) 119 Size of source file => int(0) 126 Size of source file => int(0) 133 Size of source file => int(0) [all …]
|
H A D | copy_variation4.phpt | 62 echo "Size of source file => "; 95 Destination file name => %s/ 96 Size of source file => int(1500) 107 Destination file name => %s/ 108 Size of source file => int(1500) 117 Destination file name => %s/ 118 Size of source file => int(1500) 127 Destination file name => %s/ 139 Destination file name => %s/ 149 Destination file name => %s/1 [all …]
|
H A D | copy_variation16-win32.phpt | 33 echo "- Size of source file => "; 53 echo "Size of source file => "; 86 - Size of source file => int(3500) 90 Size of source file => int(3500) 97 Size of source file => int(3500) 104 Size of source file => int(3500) 111 Size of source file => int(3500) 118 Size of source file => int(3500) 125 Size of source file => int(3500) 132 Size of source file => int(3500) [all …]
|
/PHP-5.3/ext/hash/tests/ |
H A D | hash_file_basic1.phpt | 16 $file = dirname(__FILE__) . "hash_file.txt"; 17 /* Creating a temporary file file */ 18 if (($fp = fopen( $file, "w+")) == FALSE) { 19 echo "Cannot create file ($file)"; 23 /* Writing into file */ 25 if (is_writable($file)) { 27 echo "Cannot write to file ($file)"; 32 // close the file 39 echo "md2: " . hash_file('md2', $file). "\n"; 40 echo "md4: " . hash_file('md4', $file). "\n"; [all …]
|
/PHP-5.3/ext/pcre/ |
H A D | upgrade-pcre.php | 36 foreach (scandir($path) as $file) { 38 if ($file[0] === '.' || 39 $file === 'CVS' || 44 $file = "$path/$file"; 46 if (is_dir($file)) { 47 recurse($file); 51 echo "processing $file... "; 66 copy($newfile, $file); 74 file_put_contents($file, $newcontent); 97 foreach ($diff as $file) { [all …]
|