Home
last modified time | relevance | path

Searched refs:fopen (Results 51 – 75 of 1246) sorted by relevance

12345678910>>...50

/php-src/ext/standard/tests/file/
H A D007_variation5.phpt2 Test fopen and fclose() functions - usage variations - "a" mode
6 /* Test fopen() and fclose(): Opening the file in "a" mode,
18 echo "*** Test fopen() & fclose() functions: with 'a' mode ***\n";
19 $file_handle = fopen($file, "a"); //opening the file "a" mode
31 fclose( fopen($file, "a") ); //Opening the non-existing file in "a" mode, which will be created
40 *** Test fopen() & fclose() functions: with 'a' mode ***
H A Dfwrite.phpt8 $fp = fopen($filename, "w");
12 $fp = fopen($filename, "r");
15 $fp = fopen($filename, "w");
H A Dfopen_variation7.phpt2 Test fopen() function : variation: use include path create a file (relative)
27 $h = fopen($tmpfile, "w", true);
32 $h = @fopen($tmpfile, "r");
42 $h = @fopen($dir1.'/'.$tmpfile, "r");
H A Dfopen_variation9.phpt2 Test fopen() function : variation: use include path and stream context create a file, relative path
27 $h = fopen($tmpfile, "w", true);
32 $h = @fopen($tmpfile, "r");
42 $h = @fopen('dir1/'.$tmpfile, "r");
H A D007_variation4.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 Dstream_rfc2397_002.phpt26 $stream = fopen($stream, 'r');
54 Warning: fopen(data://): Failed to open stream: rfc2397: no comma in URL in %sstream_rfc2397_002.ph…
73 Warning: fopen(data://;base64): Failed to open stream: rfc2397: no comma in URL in %sstream_rfc2397…
75 Warning: fopen(data://foo,): Failed to open stream: rfc2397: illegal media type in %sstream_rfc2397…
77 Warning: fopen(data://foo=bar,): Failed to open stream: rfc2397: illegal media type in %sstream_rfc…
98 Warning: fopen(data://text/plain;foo,): Failed to open stream: rfc2397: illegal parameter in %sstre…
121 Warning: fopen(data://text/plain;foo=bar;bla,): Failed to open stream: rfc2397: illegal parameter i…
144 Warning: fopen(data://text/plain;foo=bar;bar=baz): Failed to open stream: rfc2397: no comma in URL …
H A D007_variation13-win32.phpt2 Test fopen and fclose() functions - usage variations - "at" mode
11 /* Test fopen() and fclose(): Opening the file in "at" mode,
23 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n";
24 $file_handle = fopen($file, "at"); //opening the file "at" mode
36 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created
45 *** Test fopen() & fclose() functions: with 'at' mode ***
H A D007_variation13.phpt2 Test fopen and fclose() functions - usage variations - "at" mode
11 /* Test fopen() and fclose(): Opening the file in "at" mode,
23 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n";
24 $file_handle = fopen($file, "at"); //opening the file "at" mode
36 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created
45 *** Test fopen() & fclose() functions: with 'at' mode ***
H A Dfopen_variation16.phpt2 Test fopen() function : variation: use include path create and read a file (relative)
35 $h = fopen($tmpfile, "w+", true);
39 $h = @fopen($dir1.'/'.$tmpfile, "r");
48 $h = fopen($tmpfile, "r", true);
H A Dfopen_variation17.phpt2 Test fopen() function : variation: use include path create and read a file (relative)
34 $h = fopen($tmpfile, "w+", true);
38 $h = @fopen($dir1.'/'.$tmpfile, "r");
47 $h = fopen($tmpfile, "r", true);
H A Dftruncate_bug76803.phpt8 $f = fopen($fn, "w");
15 $f = fopen($fn, "w");
21 $f = fopen('php://memory', 'w+');
H A Dbug74719.phpt2 Bug #74719 Allow NULL as context, testing fopen, rename, unlink, mkdir and rmdir
8 // fopen
10 $h = fopen($tmpFile, "w", false, NULL);
H A D007_variation18.phpt2 Test fopen and fclose() functions - usage variations - "r+b" mode
6 /* Test fopen() and fclose(): Opening the file in "r+b" mode,
18 echo "*** Test fopen() & fclose() functions: with 'r+b' mode ***\n";
19 $file_handle = fopen($file, "r+b"); //opening the file in "r+b" mode
36 *** Test fopen() & fclose() functions: with 'r+b' mode ***
H A D007_variation2.phpt2 Test fopen and fclose() functions - usage variations - "r+" mode
6 /* Test fopen() and fclose(): Opening the file in "r+" mode,
18 echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n";
19 $file_handle = fopen($file, "r+"); //opening the file in "r+" mode
36 *** Test fopen() & fclose() functions: with 'r+' mode ***
H A D007_variation10.phpt2 Test fopen and fclose() functions - usage variations - "r+t" mode
6 /* Test fopen() and fclose(): Opening the file in "r+t" mode,
18 echo "*** Test fopen() & fclose() functions: with 'r+t' mode ***\n";
19 $file_handle = fopen($file, "r+t"); //opening the file in "r+t" mode
36 *** Test fopen() & fclose() functions: with 'r+t' mode ***
H A D007_variation12-win32.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 ***
/php-src/ext/zlib/tests/
H A Dzlib_filter_inflate2.phpt12 $fp = fopen(__DIR__ . '/test.txt.gz', 'r');
17 $fp = fopen(__DIR__ . '/test.txt.gz', 'r');
19 $fp = fopen(__DIR__ . '/test.txt.gz', 'r');
25 $fp = fopen(__DIR__ . '/test.txt.gz', 'r');
/php-src/tests/output/
H A Dstream_isatty_out.phpt18 STDIN (fopen): bool(true)
21 STDOUT (fopen): bool(false)
24 STDERR (fopen): bool(true)
H A Dstream_isatty_err.phpt18 STDIN (fopen): bool(true)
21 STDOUT (fopen): bool(true)
24 STDERR (fopen): bool(false)
H A Dstream_isatty_in-err.phpt18 STDIN (fopen): bool(false)
21 STDOUT (fopen): bool(true)
24 STDERR (fopen): bool(false)
H A Dstream_isatty_in-out-err.phpt18 STDIN (fopen): bool(false)
21 STDOUT (fopen): bool(false)
24 STDERR (fopen): bool(false)
H A Dstream_isatty_in-out.phpt18 STDIN (fopen): bool(false)
21 STDOUT (fopen): bool(false)
24 STDERR (fopen): bool(true)
H A Dstream_isatty_out-err.phpt18 STDIN (fopen): bool(true)
21 STDOUT (fopen): bool(false)
24 STDERR (fopen): bool(false)
/php-src/ext/iconv/tests/
H A Diconv_stream_filter_delimiter.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');
29 $fp = fopen(__DIR__.'/iconv_stream_filter.txt', 'rb');
/php-src/ext/standard/tests/streams/
H A Dbug47997.phpt8 $in = fopen('data://text/plain,', 'rb+');
9 $out = fopen('php://memory', 'wb+');

Completed in 23 milliseconds

12345678910>>...50