Home
last modified time | relevance | path

Searched refs:mode (Results 151 – 175 of 776) sorted by relevance

12345678910>>...32

/PHP-7.2/ext/standard/tests/file/
H A Dfseek_ftell_rewind_basic2-win32.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_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 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 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 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 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
52 *** Checking stat() on a file opened using read/write mode ***
H A D007_variation13-win32.phpt2 Test fopen and fclose() functions - usage variations - "at" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "at" mode,
34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n";
35 $file_handle = fopen($file, "at"); //opening the file "at" mode
47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created
55 *** Test fopen() & fclose() functions: with 'at' mode ***
H A D007_variation13.phpt2 Test fopen and fclose() functions - usage variations - "at" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "at" mode,
34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n";
35 $file_handle = fopen($file, "at"); //opening the file "at" mode
47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created
55 *** Test fopen() & fclose() functions: with 'at' mode ***
H A Dfgetc_variation1.phpt24 echo "-- File opened in mode : $file_modes[$loop_counter] --\n";
52 -- File opened in mode : r --
59 -- File opened in mode : rb --
66 -- File opened in mode : rt --
73 -- File opened in mode : r+ --
80 -- File opened in mode : r+b --
87 -- File opened in mode : r+t --
H A Dfread_variation2.phpt110 -- File opened in mode a --
125 -- File opened in mode ab --
140 -- File opened in mode at --
155 -- File opened in mode w --
170 -- File opened in mode wb --
185 -- File opened in mode wt --
200 -- File opened in mode x --
247 -- File opened in mode a --
292 -- File opened in mode w --
337 -- File opened in mode x --
[all …]
H A D007_basic.phpt94 -- Iteration with mode 'w' --
107 -- Iteration with mode 'wb' --
120 -- Iteration with mode 'wt' --
133 -- Iteration with mode 'w+' --
146 -- Iteration with mode 'w+b' --
172 -- Iteration with mode 'r' --
185 -- Iteration with mode 'rb' --
198 -- Iteration with mode 'rt' --
211 -- Iteration with mode 'r+' --
250 -- Iteration with mode 'a' --
[all …]
/PHP-7.2/ext/standard/tests/streams/
H A Dstream_get_meta_data_process_basic.phpt8 $mode = 'rb';
9 $handle = popen($cmd, $mode);
29 ["mode"]=>
/PHP-7.2/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);
/PHP-7.2/ext/standard/tests/array/
H A Dsizeof_error.phpt5 /* Prototype : int sizeof(mixed $var[, int $mode] )
18 echo "-- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode --\n";
22 echo "-- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --\n";
33 -- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode --
37 -- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --
H A Dsizeof_variation3.phpt2 Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode
5 /* Prototype : int sizeof($mixed var[, int $mode])
14 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --…
30 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
H A Dbug77669.phpt6 function test($mode) {
10 extract($foo, $mode, "");
14 extract($prefix_foo, $mode, "prefix");
/PHP-7.2/ext/phar/
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, ph…
27 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int op…
36 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, …
/PHP-7.2/main/streams/
H A Dmmap.c25 …hp_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t mode, size_t *mapped_len) in _php_stream_mmap_range() argument
31 range.mode = mode; in _php_stream_mmap_range()
/PHP-7.2/ext/pcre/pcrelib/testdata/
H A Dtestoutput22-169 In 16-bit mode with options: S8>testdata/saved16LE-2
11 In 32-bit mode with options: S8>testdata/saved32LE-2
73 Running in 16-bit mode but pattern was compiled in 32-bit mode
79 Running in 16-bit mode but pattern was compiled in 32-bit mode
H A Dtestoutput22-329 In 16-bit mode with options: S8>testdata/saved16LE-2
11 In 32-bit mode with options: S8>testdata/saved32LE-2
19 Running in 32-bit mode but pattern was compiled in 16-bit mode
25 Running in 32-bit mode but pattern was compiled in 16-bit mode

Completed in 44 milliseconds

12345678910>>...32