Home
last modified time | relevance | path

Searched refs:mode (Results 126 – 150 of 750) sorted by relevance

12345678910>>...30

/PHP-5.5/ext/bz2/tests/
H A D002.phpt2 bzopen() using fd opened in wrong mode
81 Warning: bzopen(): cannot read from a stream opened in write only mode in %s on line %d
96 Warning: bzopen(): cannot write to a stream opened in read only mode in %s on line %d
102 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d
105 Warning: bzopen(): cannot use stream opened in mode 'rw' in %s on line %d
108 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d
111 Warning: bzopen(): cannot use stream opened in mode 'wr' in %s on line %d
114 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d
117 Warning: bzopen(): cannot use stream opened in mode 'r+' in %s on line %d
120 Warning: bzopen(): cannot use stream opened in mode 'w+' in %s on line %d
[all …]
/PHP-5.5/main/streams/
H A Dphp_stream_mmap.h54 php_stream_mmap_access_t mode; member
70 …stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len…
71 …am_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset),… argument
/PHP-5.5/ext/standard/tests/file/
H A D007_variation15.phpt2 Test fopen and fclose() functions - usage variations - "xt" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "xt" mode,
20 checking for the warning msg when trying to open an existing file in "xt" mode,
27 echo "*** Test fopen() & fclose() functions: with 'xt' mode ***\n";
28 $file_handle = fopen($file, "xt"); //opening the non-existing file in "xt" mode, file will be crea…
39 $file_handle = fopen($file, "xt"); //Opening the existing data file in 'xt' mode to check for the …
46 *** Test fopen() & fclose() functions: with 'xt' mode ***
H A D007_variation23.phpt2 Test fopen and fclose() functions - usage variations - "xb" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "xb" mode,
20 checking for the warning msg when trying to open an existing file in "xb" mode,
27 echo "*** Test fopen() & fclose() functions: with 'xb' mode ***\n";
28 $file_handle = fopen($file, "xb"); //opening the non-existing file in "xb" mode, file will be crea…
39 $file_handle = fopen($file, "xb"); //Opening the existing data file in 'xb' mode to check for the …
46 *** Test fopen() & fclose() functions: with 'xb' mode ***
H A D007_variation7.phpt2 Test fopen and fclose() functions - usage variations - "x" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "x" mode,
20 checking for the warning msg when trying to open an existing file in "x" mode,
27 echo "*** Test fopen() & fclose() functions: with 'x' mode ***\n";
28 $file_handle = fopen($file, "x"); //opening the non-existing file in "x" mode, file will be created
39 $file_handle = fopen($file, "x"); //Opening the existing data file in 'x' mode to check for the wa…
46 *** Test fopen() & fclose() functions: with 'x' mode ***
H A D007_variation8.phpt2 Test fopen and fclose() functions - usage variations - "x+" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "x+" mode,
20 checking for the warning msg when trying to open an existing file in "x+" mode,
27 echo "*** Test fopen() & fclose() functions: with 'x+' mode ***\n";
28 $file_handle = fopen($file, "x+"); //opening the non-existing file in "x+" mode, file will be crea…
39 $file_handle = fopen($file, "x+"); //Opening the existing data file in "x+" mode to check for the …
46 *** Test fopen() & fclose() functions: with 'x+' mode ***
H A Dfilesize_variation4-win32.phpt2 Test filesize() function: usage variations - file mode & holes in file
24 echo "-- opening the file in 'w' mode and get the size --\n";
32 echo "-- opening the file in 'wt' mode and get the size --\n";
40 echo "-- opening the file in 'a' mode, adding data and checking the file --\n";
47 echo "-- opening the file in 'at' mode, adding data and checking the file --\n";
68 echo "-- opening the existing file in write mode --\n";
90 -- opening the file in 'w' mode and get the size --
93 -- opening the file in 'wt' mode and get the size --
96 -- opening the file in 'a' mode, adding data and checking the file --
98 -- opening the file in 'at' mode, adding data and checking the file --
[all …]
H A D007_variation1.phpt2 Test fopen and fclose() functions - usage variations - "r" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "r" mode,
29 echo "*** Test fopen() & fclose() functions: with 'r' mode ***\n";
30 $file_handle = fopen($file, "r"); //opening the file in "r" mode
44 *** Test fopen() & fclose() functions: with 'r' mode ***
H A D007_variation17.phpt2 Test fopen and fclose() functions - usage variations - "rb" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "rb" mode,
29 echo "*** Test fopen() & fclose() functions: with 'rb' mode ***\n";
30 $file_handle = fopen($file, "rb"); //opening the file in "rb" mode
44 *** Test fopen() & fclose() functions: with 'rb' mode ***
H A D007_variation9.phpt2 Test fopen and fclose() functions - usage variations - "rt" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "rt" mode,
29 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n";
30 $file_handle = fopen($file, "rt"); //opening the file in "rt" mode
44 *** Test fopen() & fclose() functions: with 'rt' mode ***
H A Dfseek_ftell_rewind_basic2-win32.phpt78 -- File opened in mode w --
94 -- File opened in mode wb --
110 -- File opened in mode wt --
126 -- File opened in mode w+ --
174 -- File opened in mode x --
190 -- File opened in mode xb --
206 -- File opened in mode xt --
222 -- File opened in mode x+ --
272 -- File opened in mode w --
288 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_basic2.phpt77 -- File opened in mode w --
93 -- File opened in mode wb --
109 -- File opened in mode wt --
125 -- File opened in mode w+ --
173 -- File opened in mode x --
189 -- File opened in mode xb --
205 -- File opened in mode xt --
221 -- File opened in mode x+ --
271 -- File opened in mode w --
287 -- File opened in mode wb --
[all …]
H A Dfseek_ftell_rewind_basic1.phpt67 -- File opened in mode r --
83 -- File opened in mode rb --
99 -- File opened in mode rt --
115 -- File opened in mode r+ --
163 -- File opened in mode a --
179 -- File opened in mode ab --
195 -- File opened in mode at --
211 -- File opened in mode a+ --
261 -- File opened in mode r --
277 -- File opened in mode rb --
[all …]
H A D007_variation16.phpt2 Test fopen and fclose() functions - usage variations - "x+t" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "x+t" mode,
20 checking for the warning msg when trying to open an existing file in "x+t" mode,
27 echo "*** Test fopen() & fclose() functions: with 'x+t' mode ***\n";
28 $file_handle = fopen($file, "x+t"); //opening the non-existing file in "x+t" mode, file will be cr…
39 $file_handle = fopen($file, "x+t"); //Opening the existing data file in "x+t" mode to check for th…
46 *** Test fopen() & fclose() functions: with 'x+t' mode ***
H A D007_variation24.phpt2 Test fopen and fclose() functions - usage variations - "x+b" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "x+b" mode,
20 checking for the warning msg when trying to open an existing file in "x+b" mode,
27 echo "*** Test fopen() & fclose() functions: with 'x+b' mode ***\n";
28 $file_handle = fopen($file, "x+b"); //opening the non-existing file in "x+b" mode, file will be cr…
39 $file_handle = fopen($file, "x+b"); //Opening the existing data file in "x+b" mode to check for th…
46 *** Test fopen() & fclose() functions: with 'x+b' mode ***
H A Dfilesize_variation4.phpt2 Test filesize() function: usage variations - file mode & holes in file
26 echo "-- opening the file in 'w' mode and get the size --\n";
34 echo "-- opening the file in 'wt' mode and get the size --\n";
42 echo "-- opening the file in 'a' mode, adding data and checking the file --\n";
49 echo "-- opening the file in 'at' mode, adding data and checking the file --\n";
70 echo "-- opening the existing file in write mode --\n";
92 -- opening the file in 'w' mode and get the size --
95 -- opening the file in 'wt' mode and get the size --
98 -- opening the file in 'a' mode, adding data and checking the file --
100 -- opening the file in 'at' mode, adding data and checking the file --
[all …]
H A D007_variation14.phpt2 Test fopen and fclose() functions - usage variations - "a+t" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "a+t" mode,
29 echo "*** Test fopen() & fclose() functions: with 'a+t' mode ***\n";
30 $file_handle = fopen($file, "a+t"); //opening the file "a+t" mode
41 fclose( fopen($file, "a+t") ); //Opening the non-existing file in "a+t" mode, which will be created
49 *** Test fopen() & fclose() functions: with 'a+t' mode ***
H A D007_variation21.phpt2 Test fopen and fclose() functions - usage variations - "ab" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "ab" mode,
29 echo "*** Test fopen() & fclose() functions: with 'ab' mode ***\n";
30 $file_handle = fopen($file, "ab"); //opening the file "ab" mode
42 fclose( fopen($file, "ab") ); //Opening the non-existing file in "ab" mode, which will be created
50 *** Test fopen() & fclose() functions: with 'ab' mode ***
H A D007_variation22.phpt2 Test fopen and fclose() functions - usage variations - "a+b" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "a+b" mode,
29 echo "*** Test fopen() & fclose() functions: with 'a+b' mode ***\n";
30 $file_handle = fopen($file, "a+b"); //opening the file "a+b" mode
41 fclose( fopen($file, "a+b") ); //Opening the non-existing file in "a+b" mode, which will be created
49 *** Test fopen() & fclose() functions: with 'a+b' mode ***
H A D007_variation5.phpt2 Test fopen and fclose() functions - usage variations - "a" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "a" mode,
29 echo "*** Test fopen() & fclose() functions: with 'a' mode ***\n";
30 $file_handle = fopen($file, "a"); //opening the file "a" mode
42 fclose( fopen($file, "a") ); //Opening the non-existing file in "a" mode, which will be created
50 *** Test fopen() & fclose() functions: with 'a' mode ***
H A D007_variation6.phpt2 Test fopen and fclose() functions - usage variations - "a+" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "a+" mode,
29 echo "*** Test fopen() & fclose() functions: with 'a+' mode ***\n";
30 $file_handle = fopen($file, "a+"); //opening the file "a+" mode
41 fclose( fopen($file, "a+") ); //Opening the non-existing file in "a+" mode, which will be created
49 *** Test fopen() & fclose() functions: with 'a+' mode ***
H A Dlstat_stat_variation13.phpt2 Test lstat() and stat() functions: usage variations - file opened using w and r mode
19 /* use stat on file created using "w" and "r" mode of fopen */
27 echo "*** Checking stat() on a file opened using read/write mode ***\n";
34 // opening file again in read mode
53 *** Checking stat() on a file opened using read/write mode ***
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_variation4.phpt25 foreach($modes as $mode) {
26 test_gzopen($mode);
40 function test_gzopen($mode) {
48 echo "\n** testing with mode=$mode **\n";
50 $h = gzopen($filename, $mode, true);
61 $h = gzopen($filename, $mode, true);
72 $h = gzopen($filename, $mode, true);
81 $h = gzopen($filename, $mode, true);
110 ** testing with mode=r **
117 ** testing with mode=r+ **
[all …]
/PHP-5.5/ext/standard/tests/streams/
H A Dstream_get_meta_data_process_basic.phpt8 $mode = 'rb';
9 $handle = popen($cmd, $mode);
29 ["mode"]=>
/PHP-5.5/ext/oci8/tests/
H A Dbug44206.phpt26 $mode = OCI_ASSOC | OCI_RETURN_NULLS;
27 $result = oci_fetch_array($s, $mode);
30 oci_fetch_array($result['A'], $mode);
31 oci_fetch_array($result['B'], $mode);

Completed in 41 milliseconds

12345678910>>...30