Home
last modified time | relevance | path

Searched refs:mode (Results 176 – 200 of 798) sorted by relevance

12345678910>>...32

/php-src/ext/standard/tests/file/
H A Dfread_variation3-win32.phpt108 -- File opened in mode a+ --
122 -- File opened in mode a+b --
136 -- File opened in mode a+t --
150 -- File opened in mode w+ --
164 -- File opened in mode w+b --
178 -- File opened in mode w+t --
192 -- File opened in mode x+ --
236 -- File opened in mode a+ --
278 -- File opened in mode w+ --
320 -- File opened in mode x+ --
[all …]
H A Dfread_variation3.phpt108 -- File opened in mode a+ --
122 -- File opened in mode a+b --
136 -- File opened in mode a+t --
150 -- File opened in mode w+ --
164 -- File opened in mode w+b --
178 -- File opened in mode w+t --
192 -- File opened in mode x+ --
236 -- File opened in mode a+ --
278 -- File opened in mode w+ --
320 -- File opened in mode x+ --
[all …]
H A Dstat_variation5-win32.phpt2 Test stat() functions: usage variations - file opened in read/write mode
12 /* test the stats of file opened in write mode and then same in read mode */
31 // opening file again in read mode
H A Dbug52335.phpt6 echo "Read mode\n";
19 echo "Read write mode\n";
41 Read mode
51 Read write mode
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 Dfgetc_variation4.phpt17 echo "-- File opened in mode : $file_mode --\n";
51 -- File opened in mode : a+ --
77 -- File opened in mode : a+b --
103 -- File opened in mode : a+t --
129 -- File opened in mode : x+ --
155 -- File opened in mode : x+b --
181 -- File opened in mode : x+t --
207 -- File opened in mode : w+ --
233 -- File opened in mode : w+b --
259 -- File opened in mode : w+t --
H A Dbug76735.phpt2 Bug #76735 (Incorrect message in fopen on invalid mode)
8 Warning: fopen(%s): Failed to open stream: `Q' is not a valid mode for fopen in %s on line %d
H A Dbug78386.phpt2 Bug #78386 (fstat mode has unexpected value on PHP 7.4)
11 var_dump(decoct($stat['mode']));
H A Dfread_basic.phpt98 -- File opened in mode r --
120 -- File opened in mode rb --
142 -- File opened in mode rt --
164 -- File opened in mode r+ --
186 -- File opened in mode r+b --
232 -- File opened in mode r --
254 -- File opened in mode rb --
276 -- File opened in mode rt --
298 -- File opened in mode r+ --
366 -- File opened in mode r --
[all …]
/php-src/ext/standard/tests/array/
H A Dsizeof_variation3.phpt2 Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode
7 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --…
23 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
/php-src/ext/mysqli/tests/
H A Dmysqli_result_invalid_mode.phpt2 mysqli_result(), invalid mode
20 foreach ($invalidModes as $mode) {
22 new mysqli_result($link, $mode);
/php-src/ext/calendar/
H A Dcalendar.stub.php131 function easter_date(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {} argument
133 function easter_days(?int $year = null, int $mode = CAL_EASTER_DEFAULT): int {} argument
139 function jddayofweek(int $julian_day, int $mode = CAL_DOW_DAYNO): int|string {} argument
141 function jdmonthname(int $julian_day, int $mode): string {} argument
/php-src/ext/random/
H A Dengine_mt19937.c107 if (state->mode == MT_RAND_MT19937) { in mt19937_reload()
185 ZVAL_LONG(&t, s->mode); in serialize()
223 s->mode = Z_LVAL_P(t); in unserialize()
224 if (s->mode != MT_RAND_MT19937 && s->mode != MT_RAND_PHP) { in unserialize()
257 zend_long seed, mode = MT_RAND_MT19937; in PHP_METHOD() local
263 Z_PARAM_LONG(mode); in PHP_METHOD()
266 switch (mode) { in PHP_METHOD()
268 state->mode = MT_RAND_MT19937; in PHP_METHOD()
272 state->mode = MT_RAND_PHP; in PHP_METHOD()
/php-src/ext/standard/
H A Dphp_fopen_wrapper.c176 …p_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, in php_stream_url_wrap_php() argument
204 mode_rw = php_stream_mode_from_str(mode); in php_stream_url_wrap_php()
209 mode_rw = php_stream_mode_from_str(mode); in php_stream_url_wrap_php()
341 if (strchr(mode, 'r') || strchr(mode, '+')) { in php_stream_url_wrap_php()
344 if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) { in php_stream_url_wrap_php()
355 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { in php_stream_url_wrap_php()
408 stream = php_stream_fopen_from_file(file, mode); in php_stream_url_wrap_php()
410 stream = php_stream_fopen_from_fd(fd, mode, NULL); in php_stream_url_wrap_php()
H A Dphp_fopen_wrappers.h22 …_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_…
23 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode
/php-src/ext/standard/tests/streams/
H A Dbug44818.phpt5 function test($url, $mode) {
6 echo "$url, $mode\n";
7 $fd = fopen($url, $mode);
/php-src/ext/phar/tests/
H A Dbug79082.phpt21 var_dump(decoct(stat(__DIR__ . '/test79082-testfile')['mode']));
22 var_dump(decoct(stat(__DIR__ . '/test79082-testfile2')['mode']));
31 var_dump(decoct(stat(__DIR__ . '/test79082-testfile')['mode']));
32 var_dump(decoct(stat(__DIR__ . '/test79082-testfile2')['mode']));
/php-src/ext/standard/tests/math/
H A Dround_gh12143_expand-rounding-target.phpt75 foreach ($testCases as $mode => $cases) {
76 echo "========== {$mode} ==========\n";
78 var_dump(round($val, $precision, constant($mode)));
/php-src/ext/iconv/tests/
H A Diconv_mime_decode.phpt17 global $mode;
19 $result = iconv_mime_decode($header, $mode, "UTF-8");
59 $mode = 0;
61 $mode = ICONV_MIME_DECODE_STRICT;
63 $mode = ICONV_MIME_DECODE_CONTINUE_ON_ERROR;
65 $mode = ICONV_MIME_DECODE_STRICT | ICONV_MIME_DECODE_CONTINUE_ON_ERROR;
/php-src/ext/random/tests/02_engine/
H A Dmt19937_error.phpt2 Random: Engine: Mt19937: Invalid $mode parameter values must be rejected
16 Random\Engine\Mt19937::__construct(): Argument #2 ($mode) must be either MT_RAND_MT19937 or MT_RAND…
/php-src/ext/zlib/
H A Dzlib_fopen_wrapper.c108 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int … in php_stream_gzopen() argument
115 if (strchr(mode, '+')) { in php_stream_gzopen()
128 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen()
136 self->gz_file = gzdopen(dup(fd), mode); in php_stream_gzopen()
144 stream = php_stream_alloc_rel(&php_stream_gzio_ops, self, 0, mode); in php_stream_gzopen()
/php-src/ext/dba/
H A Ddba_dbm.c38 #define TRUNC_IT(extension, mode) \ argument
41 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
55 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC()
63 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC()
107 if (mode == 1) { /* insert */ in DBA_UPDATE_FUNC()
/php-src/ext/pdo/
H A Dpdo_stmt.stub.php38 …public function fetch(int $mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT… argument
41 public function fetchAll(int $mode = PDO::FETCH_DEFAULT, mixed ...$args): array {} argument
65 public function setFetchMode(int $mode, mixed ...$args): true {} argument

Completed in 87 milliseconds

12345678910>>...32