Home
last modified time | relevance | path

Searched refs:file (Results 376 – 400 of 1965) sorted by relevance

1...<<11121314151617181920>>...79

/PHP-5.4/ext/zip/tests/
H A Doo_addfile.phpt13 $file = $dirname . '__tmp_oo_addfile.zip';
15 copy($dirname . 'test.zip', $file);
18 if (!$zip->open($file)) {
30 @unlink($file);
H A Dbug7658.phpt29 $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 Doo_rename.phpt12 $file = $dirname . '__tmp_oo_rename.zip';
14 @unlink($file);
17 if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
32 if (!$zip->open($file)) {
49 @unlink($file);
H A Doo_setcomment.phpt12 $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-5.4/ext/standard/tests/file/
H A Dtouch_error.phpt10 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 Dfscanf_variation44.phpt8 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 Dfscanf_variation13.phpt8 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 Dfscanf_variation16.phpt8 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 Dfscanf_variation19.phpt8 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 Dfscanf_variation22.phpt8 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 Dfscanf_variation32.phpt8 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 Dfscanf_variation38.phpt8 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 Dfscanf_variation50.phpt8 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 Dfscanf_variation7.phpt8 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 Dfgetc_basic.phpt7 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 Drename_variation2-win32.phpt12 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 Dfopen_variation1.phpt2 fopen() with relative path on a file in the script directory
6 $file = basename(__FILE__);
8 $fd = fopen($file, "r", true);
/PHP-5.4/ext/standard/tests/dir/
H A Ddir_variation5.phpt2 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 ***
H A Dreaddir_variation3.phpt17 // 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;
/PHP-5.4/ext/intl/tests/
H A Dresourcebundle.build11 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.4/tests/lang/
H A Dbug43958.phpt12 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…
/PHP-5.4/tests/basic/
H A Drfc1867_max_file_uploads_empty_files.phpt13 Content-Type: text/plain-file
18 Content-Type: text/plain-file
23 Content-Type: text/plain-file
28 Content-Type: text/plain-file
76 string(15) "text/plain-file"
89 string(15) "text/plain-file"
/PHP-5.4/ext/libxml/tests/
H A Dbug61367-read.phpt22 <!ENTITY file SYSTEM "file:///$dir/bad">
24 <doc>&file;</doc>
56 Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file:///%s/test_bug_…
58 Warning: DOMDocument::loadXML(): Failure to process entity file in Entity, line: 4 in %s on line %d
60 Warning: DOMDocument::loadXML(): Entity 'file' not defined in Entity, line: 4 in %s on line %d
/PHP-5.4/ext/curl/tests/
H A Dbug27023.phpt17 curl_setopt($ch, CURLOPT_URL, "{$host}/get.php?test=file");
20 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt');
24 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain');
28 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt');
32 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain;filename=foo.txt');
36 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt;type=text/plain');
/PHP-5.4/ext/openssl/tests/
H A D001.phpt31 echo "Export key to file\n";
33 openssl_pkey_export_to_file($privkey, $key_file_name, $passphrase) or die("failed to export to file
35 echo "Load key from file - array syntax\n";
37 $loaded_key = openssl_pkey_get_private(array("file://$key_file_name", $passphrase));
46 $loaded_key = openssl_pkey_get_private("file://$key_file_name", $passphrase);
70 Export key to file
71 Load key from file - array syntax

Completed in 27 milliseconds

1...<<11121314151617181920>>...79