Searched refs:file (Results 376 – 400 of 1991) sorted by relevance
1...<<11121314151617181920>>...80
/PHP-5.5/ext/phar/tests/ |
H A D | 016.phpt | 2 Phar::mapPhar invalid file (gzipped file length is too short) 12 $file = b"<?php __HALT_COMPILER(); ?>"; 13 // file length is too short 31 …phar error: internal corruption of phar "%s" (actual filesize mismatch on file "a") in %s on line … 34 …phar error: internal corruption of phar "%s" (actual filesize mismatch on file "b") in %s on line … 38 …phar error: internal corruption of phar "%s" (actual filesize mismatch on file "d") in %s on line …
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | rename_variation.phpt | 21 /* Testing a file trailing slash */ 24 /* Testing file with double slashes */ 29 /* loop through each $file and rename it to rename_variation2.tmp */ 36 // ensure that file got renamed to new name 41 // unlink the file 45 // clean the temp dir and file 63 Warning: unlink(%s): No such file or directory in %s on line %d
|
H A D | file.inc | 2 /* Header file for common file test functions 23 $filename = Name of the file 154 Description: changes file permission for given file(s). 205 unqiue numeric value to make the file name unique, default = file 215 "empty" = empty file 229 created => total file created 302 // change all file's permissions 334 text = fill file with regular text 346 created => total file created 409 // call fill_file() to fill the file [all …]
|
H A D | touch_error.phpt | 10 var_dump(touch("/no/such/file/or/directory")); 20 Warning: touch(): Unable to create file /no/such/file/or/directory because No such file or director…
|
H A D | fileperms_variation3.phpt | 8 * Description: Returns the group ID of the file, or FALSE in case of an error. 11 /* Passing file names with different notations, using slashes, wild-card chars */ 15 echo "*** Testing fileperms() with different notations of file names ***\n"; 24 /* Testing a file trailing slash */ 27 /* Testing file with double slashes */ 40 foreach($files_arr as $file) { 42 var_dump( fileperms( $file_path."/".$file ) ); 57 *** Testing fileperms() with different notations of file names ***
|
H A D | is_executable_variation1.phpt | 15 /* test is_executable() with file having different filepath notation */ 17 require dirname(__FILE__).'/file.inc'; 23 // create a new temporary file 32 /* Testing a file with trailing slash */ 35 /* Testing file with double slashes */ 51 is an executable file */ 52 foreach($files_arr as $file) { 54 var_dump( is_executable($file) );
|
H A D | filegroup_variation3.phpt | 8 * Description: Returns the group ID of the file, or FALSE in case of an error. 11 /* Passing file names with different notations, using slashes, wild-card chars */ 15 echo "*** Testing filegroup() with different notations of file names ***\n"; 24 /* Testing a file trailing slash */ 27 /* Testing file with double slashes */ 40 foreach($files_arr as $file) { 42 var_dump( filegroup( $file_path."/".$file ) ); 57 *** Testing filegroup() with different notations of file names ***
|
H A D | fileinode_variation3.phpt | 9 Description: Returns the inode number of the file, or FALSE in case of an error. 12 /* Passing file names with different notations, using slashes, wild-card chars */ 16 echo "*** Testing fileinode() 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( fileinode( $file_path."/".$file ) ); 58 *** Testing fileinode() with different notations of file names ***
|
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_variation22.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 char formats 59 // 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_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 | 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_variation32.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 21 exit("Error:failed to open file $filename"); 40 // writing to the file 45 // closing the file 48 // opening the file for reading 51 exit("Error:failed to open file $filename"); 55 // reading the values from file using different octal formats 57 // rewind the file so that for every foreach iteration the file pointer starts from bof
|
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 | fopen_variation1.phpt | 2 fopen() with relative path on a file in the script directory 6 $file = basename(__FILE__); 8 $fd = fopen($file, "r", true);
|
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 …]
|
/PHP-5.5/ext/zip/tests/ |
H A D | oo_addfile.phpt | 13 $file = $dirname . '__tmp_oo_addfile.zip'; 15 copy($dirname . 'test.zip', $file); 18 if (!$zip->open($file)) { 30 @unlink($file);
|
H A D | bug7658.phpt | 29 $file = $dirname . '__tmp_bug7658.odt'; 31 copy($dirname . 'bug7658.odt', $file); 32 if(!$zip->open($file)) { 41 $zip->open($file); 51 unlink($file);
|
H A D | oo_rename.phpt | 12 $file = $dirname . '__tmp_oo_rename.zip'; 14 @unlink($file); 17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) { 32 if (!$zip->open($file)) { 49 @unlink($file);
|
/PHP-5.5/ext/intl/tests/ |
H A D | resourcebundle.build | 11 foreach($dir as $file) { 12 passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle ".$file->getFileName()); 16 foreach($dir as $file) { 17 if($file->getFileName() == "res_index.res") continue; 18 $list[] = str_replace(".res", "", $file->getFileName());
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | dir_variation5.phpt | 2 Test dir() function : usage variations - open a file instead of directory 18 * Passing a file as argument to dir() function instead of a directory 22 echo "*** Testing dir() : open a file instead of a directory ***\n"; 24 // open the file instead of directory 31 *** Testing dir() : open a file instead of a directory ***
|
/PHP-5.5/tests/lang/ |
H A D | bug43958.phpt | 12 MyClass::loadCode('file-which-does-not-exist-on-purpose.php'); 14 Warning: include(file-which-does-not-exist-on-purpose.php): failed to open stream: No such file or … 16 Warning: include(): Failed opening 'file-which-does-not-exist-on-purpose.php' for inclusion (includ…
|
Completed in 57 milliseconds
1...<<11121314151617181920>>...80