Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-7.4/ext/standard/tests/file/
H A Dfread_variation3-win32.phpt116 -- File opened in mode a+ --
130 -- File opened in mode a+b --
144 -- File opened in mode a+t --
158 -- File opened in mode w+ --
172 -- File opened in mode w+b --
186 -- File opened in mode w+t --
200 -- File opened in mode x+ --
244 -- File opened in mode a+ --
286 -- File opened in mode w+ --
328 -- File opened in mode x+ --
[all …]
H A Dfread_variation3.phpt116 -- File opened in mode a+ --
130 -- File opened in mode a+b --
144 -- File opened in mode a+t --
158 -- File opened in mode w+ --
172 -- File opened in mode w+b --
186 -- File opened in mode w+t --
200 -- File opened in mode x+ --
244 -- File opened in mode a+ --
286 -- File opened in mode w+ --
328 -- File opened in mode x+ --
[all …]
H A Dfgetc_variation4.phpt22 echo "-- File opened in mode : $file_mode --\n";
56 -- File opened in mode : a+ --
82 -- File opened in mode : a+b --
108 -- File opened in mode : a+t --
134 -- File opened in mode : x+ --
160 -- File opened in mode : x+b --
186 -- File opened in mode : x+t --
212 -- File opened in mode : w+ --
238 -- File opened in mode : w+b --
264 -- File opened in mode : w+t --
H A Dbug78386.phpt2 Bug #78386 (fstat mode has unexpected value on PHP 7.4)
11 var_dump(decoct($stat['mode']));
H A Dchmod_error.phpt5 /* Prototype : bool chmod(string filename, int mode)
6 * Description: Change file mode
17 $mode = 10;
19 var_dump( chmod($filename, $mode, $extra_arg) );
H A Dstat_variation5-win32.phpt2 Test stat() functions: usage variations - file opened in read/write mode
17 /* test the stats of file opened in write mode and then same in read mode */
36 // opening file again in read mode
H A Dfread_variation1.phpt111 -- File opened in mode a+ --
126 -- File opened in mode a+b --
141 -- File opened in mode a+t --
156 -- File opened in mode w+ --
171 -- File opened in mode w+b --
186 -- File opened in mode w+t --
201 -- File opened in mode x+ --
248 -- File opened in mode a+ --
293 -- File opened in mode w+ --
338 -- File opened in mode x+ --
[all …]
/PHP-7.4/ext/oci8/tests/
H A Dimp_res_insert.phpt53 echo "Test 1 - No commit in procedure, OCI_COMMIT_ON_SUCCESS mode\n";
63 echo "\nTest 2 - No commit in procedure, OCI_NO_AUTO_COMMIT mode\n";
74 echo "\nTest 3 - Commit in procedure, OCI_COMMIT_ON_SUCCESS mode\n";
85 echo "\nTest 4 - Commit in procedure, OCI_NO_AUTO_COMMIT mode\n";
109 Test 1 - No commit in procedure, OCI_COMMIT_ON_SUCCESS mode
116 Test 2 - No commit in procedure, OCI_NO_AUTO_COMMIT mode
124 Test 3 - Commit in procedure, OCI_COMMIT_ON_SUCCESS mode
137 Test 4 - Commit in procedure, OCI_NO_AUTO_COMMIT mode
H A Dexecute_mode.phpt2 oci_execute() and invalid execute mode
18 Warning: oci_execute(): Invalid execute mode given: -1 in %s on line %d
/PHP-7.4/ext/standard/
H A Dphp_fopen_wrappers.h24 …_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_…
25 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode
H A Dphp_fopen_wrapper.c178 …p_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, in php_stream_url_wrap_php() argument
206 mode_rw = php_stream_mode_from_str(mode); in php_stream_url_wrap_php()
211 mode_rw = php_stream_mode_from_str(mode); in php_stream_url_wrap_php()
343 if (strchr(mode, 'r') || strchr(mode, '+')) { in php_stream_url_wrap_php()
346 if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) { in php_stream_url_wrap_php()
357 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { in php_stream_url_wrap_php()
410 stream = php_stream_fopen_from_file(file, mode); in php_stream_url_wrap_php()
412 stream = php_stream_fopen_from_fd(fd, mode, NULL); in php_stream_url_wrap_php()
/PHP-7.4/ext/zlib/tests/
H A Dgzopen_basic.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
22 $mode = 'r';
26 $h = gzopen($filename, $mode, $use_include_path);
31 $h = gzopen($filename, $mode);
/PHP-7.4/ext/dba/
H A Ddba_dbm.c43 #define TRUNC_IT(extension, mode) \ argument
46 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
64 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC()
72 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC()
114 if (mode == 1) { /* insert */ in DBA_UPDATE_FUNC()
/PHP-7.4/Zend/tests/
H A Dbug61087.phpt2 Bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
10 Warning: Invalid scanner mode in %s on line %d
/PHP-7.4/Zend/tests/type_declarations/
H A Dweak_call_strict.phpt11 // Will succeed: Function was declared in strict mode, but that does not matter
12 // This file uses weak mode, so the call is weak, and float accepted for int
H A Dweak_explicit_call_strict.phpt11 // Will succeed: Function was declared in strict mode, but that does not matter
12 // This file uses weak mode, so the call is weak, and float accepted for int
/PHP-7.4/ext/spl/tests/
H A DSplFileObject_fputcsv_variation14.phpt7 of two chars is provided and file is opened in read only mode */
9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode
25 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
/PHP-7.4/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-7.4/ext/pdo/tests/
H A Dbug_44173.phpt61 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode doesn't allow any extra arguments…
64 Warning: PDO::query(): SQLSTATE[HY000]: General error: mode must be an integer in %s
70 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the object parameter in …
73 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the colno argument in %s
76 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the classname argument i…
/PHP-7.4/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-7.4/ext/spl/
H A Dspl_directory.h137 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument
143 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
/PHP-7.4/ext/phar/
H A Dtar.h43 char mode[8]; /* file mode */ member
67 char mode[8]; /* file mode */ member
/PHP-7.4/ext/intl/idn/
H A Didn.c124 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument
137 if (mode == INTL_IDN_TO_ASCII) { in php_intl_idn_to_46()
180 const zend_string *domain, uint32_t option, int mode) in php_intl_idn_to() argument
213 if (mode == INTL_IDN_TO_ASCII) { in php_intl_idn_to()
247 static void php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode) in php_intl_idn_handoff() argument
296 php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode); in php_intl_idn_handoff()
299 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/PHP-7.4/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc49 'mode' => 0x8000 + 0644,
59 if ($stat['mode'] & 0xA000 && $corrupt === 'symlink') {
64 } else if ($stat['mode'] & 0xA000) {
69 } else if ($stat['mode'] & 0x4000) {
71 } else if ($stat['mode'] & 0x8000) {
89 decoct($stat['mode']),
161 'mode' => 0x4000 + 0644,
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation2.phpt48 ["mode"]=>
67 ["mode"]=>
86 ["mode"]=>
105 ["mode"]=>

Completed in 62 milliseconds

12345678910>>...28