/PHP-7.4/ext/standard/tests/file/ |
H A D | fread_variation3-win32.phpt | 116 -- 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 D | fread_variation3.phpt | 116 -- 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 D | fgetc_variation4.phpt | 22 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 D | bug78386.phpt | 2 Bug #78386 (fstat mode has unexpected value on PHP 7.4) 11 var_dump(decoct($stat['mode']));
|
H A D | chmod_error.phpt | 5 /* 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 D | stat_variation5-win32.phpt | 2 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 D | fread_variation1.phpt | 111 -- 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 D | imp_res_insert.phpt | 53 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 D | execute_mode.phpt | 2 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 D | php_fopen_wrappers.h | 24 …_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 D | php_fopen_wrapper.c | 178 …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 D | gzopen_basic.phpt | 11 /* 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 D | dba_dbm.c | 43 #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 D | bug61087.phpt | 2 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 D | weak_call_strict.phpt | 11 // 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 D | weak_explicit_call_strict.phpt | 11 // 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 D | SplFileObject_fputcsv_variation14.phpt | 7 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 D | iconv_mime_decode.phpt | 17 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 D | bug_44173.phpt | 61 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 D | zlib_fopen_wrapper.c | 108 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 D | spl_directory.h | 137 #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 D | tar.h | 43 char mode[8]; /* file mode */ member 67 char mode[8]; /* file mode */ member
|
/PHP-7.4/ext/intl/idn/ |
H A D | idn.c | 124 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 D | corrupt_tarmaker.php.inc | 49 '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 D | stream_get_meta_data_socket_variation2.phpt | 48 ["mode"]=> 67 ["mode"]=> 86 ["mode"]=> 105 ["mode"]=>
|