/PHP-7.1/ext/standard/tests/file/ |
H A D | fscanf_variation38.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 35 // writing to the file 40 // closing the file 43 // opening the file for reading 46 exit("Error:failed to open file $filename"); 50 // reading the values from file using different hexa formats 52 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | fscanf_variation44.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 35 // writing to the file 40 // closing the file 43 // opening the file for reading 46 exit("Error:failed to open file $filename"); 50 // reading the values from file using different unsigned formats 52 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | fscanf_variation50.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 35 // writing to the file 40 // closing the file 43 // opening the file for reading 46 exit("Error:failed to open file $filename"); 50 // reading the values from file using different scientific formats 52 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | fscanf_variation13.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 35 // writing to the file 40 // closing the file 43 // opening the file for reading 46 exit("Error:failed to open file $filename"); 50 // reading the values from file using different float formats 52 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | fscanf_variation16.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 42 // writing to the file 47 // closing the file 50 // opening the file for reading 53 exit("Error:failed to open file $filename"); 57 // reading the values from file using different string formats 59 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | fscanf_variation19.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 39 // writing to the file 44 // closing the file 47 // opening the file for reading 50 exit("Error:failed to open file $filename"); 54 // reading the values from file using different string formats 56 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | fscanf_variation7.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 35 // writing to the file 40 // closing the file 43 // opening the file for reading 46 exit("Error:failed to open file $filename"); 50 // reading the values from file using different integer formats 52 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
H A D | rename_variation2-win32.phpt | 12 Description: Renames a file or directory 15 require dirname(__FILE__).'/file.inc'; 20 /* Renaming a file and directory to numeric name */ 21 echo "\n*** Testing rename() by renaming a file and directory to numeric name ***\n"; 25 // renaming existing file to numeric name 53 *** Testing rename() by renaming a file and directory to numeric name ***
|
H A D | fgetc_basic.phpt | 7 Description: Gets character from file pointer 10 include ("file.inc"); 16 /* create file with following type of contents */ 23 // create file file 34 // open the file using the $file_modes 45 // read data from the file and check, file pointer position, feof etc 52 // close the file 57 // delete the file 68 -- Testing fgetc() : file opened using r mode -- 94 -- Testing fgetc() : file opened using rb mode -- [all …]
|
H A D | readfile_variation2.phpt | 12 Description: Outputs a file 15 /* Variation 2 : Create file 18 Delete file and its link 21 // include file.inc 22 require("file.inc"); 26 // temp file used here 29 // create temp file and insert data into it
|
H A D | fileowner_variation3.phpt | 8 * Description: Returns the user ID of the owner of the file, or 12 /* Passing file names with different notations, using slashes, wild-card chars */ 16 echo "*** Testing fileowner() with different notations of file names ***\n"; 25 /* Testing a file trailing slash */ 28 /* Testing file with double slashes */ 41 foreach($files_arr as $file) { 43 var_dump( fileowner( $file_path."/".$file ) ); 58 *** Testing fileowner() with different notations of file names ***
|
H A D | is_readable_variation1.phpt | 2 Test is_readable() function: usage variations - diff. file notations 23 /* test is_readable() with file having different filepath notation */ 25 require dirname(__FILE__).'/file.inc'; 31 // create a new temporary file 40 /* Testing a file trailing slash */ 43 /* Testing file with double slashes */ 60 is a writable file */ 61 foreach($files_arr as $file) { 63 var_dump( is_readable($file) );
|
H A D | chmod_variation3.phpt | 6 * Description: Change file mode 110 Error: 2 - chmod(): No such file or directory, %s(%d) 114 Error: 2 - chmod(): No such file or directory, %s(%d) 118 Error: 2 - chmod(): No such file or directory, %s(%d) 122 Error: 2 - chmod(): No such file or directory, %s(%d) 126 Error: 2 - chmod(): No such file or directory, %s(%d) 130 Error: 2 - chmod(): No such file or directory, %s(%d) 134 Error: 2 - chmod(): No such file or directory, %s(%d) 138 Error: 2 - chmod(): No such file or directory, %s(%d) 142 Error: 2 - chmod(): No such file or directory, %s(%d) [all …]
|
H A D | bug46347.phpt | 11 $file = __DIR__ . '/parse.ini'; 12 file_put_contents($file, $str); 14 var_dump(parse_ini_file($file));
|
/PHP-7.1/ext/standard/tests/dir/ |
H A D | readdir_variation3-win32-mb.phpt | 23 // include the file.inc for Function: function create_files() 25 include(dirname(__FILE__)."/../file/file.inc"); 36 while(FALSE !== ($file = readdir($dir_handle))) { 39 // store file names into an array so can use sorted in expected output 40 $contents[] = $file;
|
H A D | readdir_variation3.phpt | 17 // include the file.inc for Function: function create_files() 19 include(dirname(__FILE__)."/../file/file.inc"); 30 while(FALSE !== ($file = readdir($dir_handle))) { 33 // store file names into an array so can use sorted in expected output 34 $contents[] = $file;
|
H A D | rewinddir_basic-win32-mb.phpt | 23 // include file.inc for create_files function 24 include(dirname(__FILE__) . "/../file/file.inc"); 31 @create_files($dir_path1, 1, "numeric", 0755, 1, "w", "私はガラスを食べられますfile"); 32 @create_files($dir_path2, 1, 'numeric', 0755, 1, 'w', "私はガラスを食べられますfile", 2); 63 delete_files($dir_path1, 1, "私はガラスを食べられますfile"); 64 delete_files($dir_path2, 1, "私はガラスを食べられますfile", 2);
|
/PHP-7.1/ext/zip/tests/ |
H A D | oo_setcomment.phpt | 12 $file = $dirname . '__tmp_oo_set_comment.zip'; 14 @unlink($file); 17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) { 42 if (!$zip->open($file)) { 43 @unlink($file); 55 @unlink($file);
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug36258.phpt | 8 foreach ($diriter as $key => $file) { 9 var_dump($file->getFilename()); 10 var_dump($file->getPath());
|
/PHP-7.1/Zend/tests/ |
H A D | bug50383.phpt | 2 Bug #50383 (Exceptions thrown in __call / __callStatic do not include file and line in trace) 44 [file] => %s 62 [file] => %s 77 [file] => %s 95 [file] => %s
|
/PHP-7.1/tests/basic/ |
H A D | bug55500.phpt | 11 Content-Disposition: form-data; name="file[]"; filename="file1.txt" 16 Content-Disposition: form-data; name="file[[type]"; filename="file2.txt" 21 Content-Disposition: form-data; name="file[[name]"; filename="file3.txt" 26 Content-Disposition: form-data; name="file[name]["; filename="file4.txt" 38 [%u|b%"file"]=>
|
/PHP-7.1/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_file_variation4.phpt | 2 stream_get_meta_data() with a relative file path 6 echo "Create a file:\n"; 14 echo "\nChange to file's directory and open with a relative path:\n"; 29 Create a file: 51 Change to file's directory and open with a relative path:
|
/PHP-7.1/ext/standard/tests/url/ |
H A D | parse_url_basic_008.phpt | 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL 77 --> zlib:/path/to/my/file/file.txt : NULL 84 --> file:///path/to/file : NULL 85 --> file://path/to/file : NULL 86 --> file:/path/to/file : NULL 103 --> file:///: : NULL 104 --> file:///a:/ : NULL 105 --> file:///ab:/ : NULL 106 --> file:///a:/ : NULL 107 --> file:///@:/ : NULL [all …]
|
H A D | parse_url_basic_001.phpt | 575 --> zlib:/path/to/my/file/file.txt: array(2) { 579 string(25) "/path/to/my/file/file.txt" 642 --> file:///path/to/file: array(2) { 644 string(4) "file" 649 --> file://path/to/file: array(3) { 651 string(4) "file" 658 --> file:/path/to/file: array(2) { 660 string(4) "file" 786 string(4) "file" 793 string(4) "file" [all …]
|
/PHP-7.1/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_option.phpt | 50 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd")… 51 if ((file_exists($file) && !unlink($file)) || !($fp = @fopen($file, "w"))) { 52 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 55 die(sprintf("skip Failed to create pub key file")); 94 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 95 if (file_exists($file) && is_readable($file)) { 98 if (!($link->options(MYSQLI_SERVER_PUBLIC_KEY, $file))) { 128 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 129 @unlink($file);
|