Home
last modified time | relevance | path

Searched refs:fopen (Results 76 – 100 of 1246) sorted by relevance

12345678910>>...50

/php-src/ext/standard/tests/file/
H A D007_variation12.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
11 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
53 *** Test fopen() & fclose() functions: with 'w+t' mode ***
H A D007_variation19.phpt2 Test fopen and fclose() functions - usage variations - "wb" mode
6 /* Test fopen() and fclose(): Opening the file in "wb" mode,
19 echo "*** Test fopen() & fclose() functions: with 'wb' mode ***\n";
20 $file_handle = fopen($file, "wb"); //opening the file "wb" mode
34 fclose( fopen($file, "wb") ); //Opening the existing data file again in "wb" mode
39 fclose( fopen($file, "wb") ); //Opening the non-existing file in "wb" mode, which will be created
48 *** Test fopen() & fclose() functions: with 'wb' mode ***
H A D007_variation3.phpt2 Test fopen and fclose() functions - usage variations - "w" mode
6 /* Test fopen() and fclose(): Opening the file in "w" mode,
19 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n";
20 $file_handle = fopen($file, "w"); //opening the file "w" mode
34 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode
39 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created
48 *** Test fopen() & fclose() functions: with 'w' mode ***
H A D007_variation11-win32-mb.phpt2 Test fopen and fclose() functions - usage variations - "wt" mode
11 /* Test fopen() and fclose(): Opening the file in "wt" mode,
24 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n";
25 $file_handle = fopen($file, "wt"); //opening the file "wt" mode
39 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode
44 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created
55 *** Test fopen() & fclose() functions: with 'wt' mode ***
H A D007_variation11-win32.phpt2 Test fopen and fclose() functions - usage variations - "wt" mode
11 /* Test fopen() and fclose(): Opening the file in "wt" mode,
24 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n";
25 $file_handle = fopen($file, "wt"); //opening the file "wt" mode
39 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode
44 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created
53 *** Test fopen() & fclose() functions: with 'wt' mode ***
H A D007_variation11.phpt2 Test fopen and fclose() functions - usage variations - "wt" mode
11 /* Test fopen() and fclose(): Opening the file in "wt" mode,
24 echo "*** Test fopen() & fclose() functions: with 'wt' mode ***\n";
25 $file_handle = fopen($file, "wt"); //opening the file "wt" mode
39 fclose( fopen($file, "wt") ); //Opening the existing data file again in "wt" mode
44 fclose( fopen($file, "wt") ); //Opening the non-existing file in "wt" mode, which will be created
53 *** Test fopen() & fclose() functions: with 'wt' mode ***
H A D007_variation20.phpt2 Test fopen and fclose() functions - usage variations - "w+b" mode
6 /* Test fopen() and fclose(): Opening the file in "w+b" mode,
19 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n";
20 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode
34 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode
39 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created
48 *** Test fopen() & fclose() functions: with 'w+b' mode ***
H A Dfilesize_variation4-win32.phpt20 $file_handle = fopen($filename, "w");
28 $file_handle = fopen($filename, "wt");
36 $file_handle = fopen($filename, "a");
43 $file_handle = fopen($filename, "at");
50 $file_handle = fopen($filename, "a");
57 $file_handle = fopen($filename, "a");
64 fclose( fopen($filename, "w") );
70 fclose( fopen($filename, "w") );
H A Dfopen_variation1.phpt2 fopen() with relative path on a file in the script directory
8 $fd = fopen($file, "r", true);
H A Dstream_copy_to_stream_empty.phpt9 $in = fopen($tmp_empty_file, 'r');
10 $out = fopen('php://memory', 'w');
H A Dis_file_variation1.phpt12 $file_handle = fopen($filename, "w" );
19 $file_handle = fopen( $file_path."/is_file_variation1.tmp", "r");
27 /* created by fopen() */
28 fclose( fopen($file_path."/is_file_variation1.tmp", "w") );
H A Dbug38086.phpt10 $src = fopen($initial_file, 'r');
13 $dest = fopen($new_file, 'w');
24 $src = fopen($initial_file, 'r');
27 $dest = fopen($new_file, 'w');
H A Dfilesize_variation4.phpt22 $file_handle = fopen($filename, "w");
30 $file_handle = fopen($filename, "wt");
38 $file_handle = fopen($filename, "a");
45 $file_handle = fopen($filename, "at");
52 $file_handle = fopen($filename, "a");
59 $file_handle = fopen($filename, "a");
66 fclose( fopen($filename, "w") );
72 fclose( fopen($filename, "w") );
H A Dstream_enclosed.phpt7 $s = fopen('php://temp/maxmemory=1024','wb+');
9 $t = fopen('php://temp/maxmemory=1024','wb+');
/php-src/sapi/cli/tests/
H A Dgh8827-003.phpt15 $stdoutStream = fopen('php://stdout', 'r');
27 $stdoutFileStream = fopen($stdoutFile, 'a');
28 $stderrFileStream = fopen($stderrFile, 'a');
/php-src/Zend/tests/
H A Dbug70398.phpt6 define("FILE_STREAM", fopen("php://temp", "r"));
8 define("FILE_STREAMS", array(fopen("php://temp", "r")));
/php-src/ext/standard/tests/streams/
H A Dbug74951.phpt10 $s=fopen('e0ploit://',0);
13 Warning: fopen(e0ploit://): Failed to open stream: operation failed in %s%ebug74951.php on line 7
H A Dbug54946.phpt6 $stream = fopen($filename, "w"); // w or a
16 $stream = fopen($filename, "a");
26 $stream = fopen($filename, "a");
H A Dstream_context_tcp_nodelay_fopen.phpt2 stream context tcp_nodelay fopen
20 $stream = fopen("http://www.php.net", "r", false, $ctxt);
/php-src/ext/standard/tests/strings/
H A Dbug68996.phpt7 fopen("\xfc\x63", "r");
11 <b>Warning</b>: fopen(�c): Failed to open stream: No such file or directory in <b>%sbug68996.php</…
/php-src/ext/iconv/tests/
H A Diconv_stream_filter.phpt9 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb');
15 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb');
22 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb');
/php-src/ext/gd/libgd/
H A Dgdtopng.c19 in = fopen (argv[1], "rb"); in main()
32 out = fopen (argv[2], "wb"); in main()
H A Dpngtogd.c20 in = fopen (argv[1], "rb"); in main()
33 out = fopen (argv[2], "wb"); in main()
/php-src/ext/phar/tests/
H A Dbug81726.phpt8 var_dump(fopen("phar://" . __DIR__ . "/bug81726.gz", "r"));
11 Warning: fopen(phar://%s): Failed to open stream: unable to decompress gzipped phar archive "%s" in…
/php-src/tests/basic/
H A Denable_post_data_reading_06.phpt94 $f1 = fopen("php://input", "r");
95 $f2 = fopen("php://input", "r");

Completed in 32 milliseconds

12345678910>>...50