/PHP-7.2/ext/bz2/tests/ |
H A D | 001.phpt | 25 Warning: bzopen(): '' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on li… 34 Warning: bzopen(): 'x' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on l… 37 Warning: bzopen(): 'rw' is not a valid mode for bzopen(). Only 'w' and 'r' are supported. in %s on …
|
/PHP-7.2/ext/phar/ |
H A D | stream.h | 24 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int op… 27 …apper_open_url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_…
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | fgetss_variation4.phpt | 39 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n"; 79 -- Testing fgetss() with file opened using r mode -- 94 -- Testing fgetss() with file opened using rb mode -- 109 -- Testing fgetss() with file opened using rt mode -- 124 -- Testing fgetss() with file opened using r+ mode -- 139 -- Testing fgetss() with file opened using r+b mode -- 154 -- Testing fgetss() with file opened using r+t mode --
|
H A D | userwrapper.phpt | 14 function mkdir($directory, $mode, $options) { 15 …printf("Making directory: %s as %o%s\n", $directory, $mode, $options & STREAM_MKDIR_RECURSIVE ? " … 27 return array('dev'=>1, 'ino'=>2, 'mode'=>0644, 'nlink'=>3, 69 [mode] => 420
|
H A D | fgets_variation5.phpt | 24 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n"; 60 -- Testing fgets() with file opened using mode w+ -- 87 -- Testing fgets() with file opened using mode w+b -- 114 -- Testing fgets() with file opened using mode w+t -- 141 -- Testing fgets() with file opened using mode a+ -- 168 -- Testing fgets() with file opened using mode a+b -- 195 -- Testing fgets() with file opened using mode a+t -- 222 -- Testing fgets() with file opened using mode x+ -- 249 -- Testing fgets() with file opened using mode x+b -- 276 -- Testing fgets() with file opened using mode x+t --
|
H A D | fpassthru_variation.phpt | 60 echo "\n--- Testing with binary mode file ---\n"; 61 /* Opening the file in binary read mode */ 111 --- Testing with binary mode file ---
|
H A D | fgets_variation6.phpt | 30 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n"; 67 -- Testing fgets() with file opened using mode w+ -- 101 -- Testing fgets() with file opened using mode w+b -- 135 -- Testing fgets() with file opened using mode w+t -- 169 -- Testing fgets() with file opened using mode a+ -- 203 -- Testing fgets() with file opened using mode a+b -- 237 -- Testing fgets() with file opened using mode a+t -- 271 -- Testing fgets() with file opened using mode x+ -- 305 -- Testing fgets() with file opened using mode x+b -- 339 -- Testing fgets() with file opened using mode x+t --
|
H A D | fgets_variation6-win32.phpt | 30 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n"; 67 -- Testing fgets() with file opened using mode w+ -- 101 -- Testing fgets() with file opened using mode w+b -- 135 -- Testing fgets() with file opened using mode w+t -- 169 -- Testing fgets() with file opened using mode a+ -- 203 -- Testing fgets() with file opened using mode a+b -- 237 -- Testing fgets() with file opened using mode a+t -- 271 -- Testing fgets() with file opened using mode x+ -- 305 -- Testing fgets() with file opened using mode x+b -- 339 -- Testing fgets() with file opened using mode x+t --
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_search_variation4.phpt | 31 //false in strict mode 36 // false in strict mode 41 // false in stric mode 54 var_dump( array_search('123abc', array(123), TRUE) ); // false in strict mode
|
H A D | in_array_variation4.phpt | 34 //false in strict mode 39 // false in strict mode 44 // false in stric mode 57 var_dump( in_array('123abc', array(123), TRUE) ); // false in strict mode
|
H A D | count_recursive.phpt | 7 /* Prototype: int count ( mixed $var [, int $mode] ); 224 For mode '0' count is => int(3) 225 For mode '1' count is => int(9) 226 For mode '0' count is => int(3) 227 For mode '1' count is => int(9) 228 For mode '-1' count is => int(3) 229 For mode '-1.45' count is => int(3) 230 For mode '2' count is => int(3) 231 For mode '1' count is => int(9) 232 For mode '' count is => int(3) [all …]
|
/PHP-7.2/Zend/tests/type_declarations/ |
H A D | strict_call_weak.phpt | 11 // Will succeed: Function was declared in weak mode, but that does not matter 12 // This file uses strict mode, so the call is strict, and float denied for int
|
H A D | strict_call_weak_explicit.phpt | 11 // Will succeed: Function was declared in weak mode, but that does not matter 12 // This file uses strict mode, so the call is strict, and float denied for int
|
/PHP-7.2/win32/ |
H A D | ioutil.c | 73 PW32IO BOOL php_win32_ioutil_posix_to_open_opts(int flags, mode_t mode, php_ioutil_open_opts *opts) in php_win32_ioutil_posix_to_open_opts() argument 144 if (!((mode & ~current_umask) & _S_IWRITE)) { in php_win32_ioutil_posix_to_open_opts() 194 mode_t mode = 0; in php_win32_ioutil_open_w() local 202 mode = (mode_t) va_arg(arg, int); in php_win32_ioutil_open_w() 206 if (!php_win32_ioutil_posix_to_open_opts(flags, mode, &open_opts)) { in php_win32_ioutil_open_w() 289 PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode) 307 PW32IO int php_win32_ioutil_mkdir(const char *path, mode_t mode) in php_win32_ioutil_mkdir() argument 631 PW32IO int php_win32_ioutil_access_w(const wchar_t *path, mode_t mode) 633 return _waccess(path, mode);
|
/PHP-7.2/ext/zip/ |
H A D | php_zip.h | 77 php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, … 78 php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC…
|
H A D | zip_stream.c | 213 php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC) in php_stream_zip_open() 222 if (strncmp(mode,"r", strlen("r")) != 0) { in php_stream_zip_open() 245 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode); in php_stream_zip_open() 264 const char *mode, in php_stream_zip_opener() argument 298 if (path_len >= MAXPATHLEN || mode[0] != 'r') { in php_stream_zip_opener() 331 stream = php_stream_alloc(&php_stream_zipio_ops, self, NULL, mode); in php_stream_zip_opener()
|
/PHP-7.2/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_socket_variation4.phpt | 48 ["mode"]=> 67 ["mode"]=> 86 ["mode"]=>
|
H A D | bug72853.phpt | 37 ["mode"]=> 53 ["mode"]=>
|
/PHP-7.2/ext/sysvmsg/tests/ |
H A D | 004.phpt | 11 echo "Set mode:\n"; 12 $arr = array('msg_perm.mode' => 0600); 43 Set mode:
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_autocommit.phpt | 22 printf("[002] Server autocommit mode should be on, got '%s'\n", var_export($row['_autocommit'])); 30 printf("[004] Server autocommit mode should be off, got '%s'\n", var_export($row['_autocommit'])); 34 printf("[005] Cannot turn on server autocommit mode, %s\n", var_export($db->errorInfo(), true)); 41 printf("[007] Cannot turn off server autocommit mode, %s\n", var_export($db->errorInfo(), true)); 48 printf("[009] Server autocommit mode should be on, got '%s'\n", var_export($row['_autocommit']));
|
/PHP-7.2/sapi/phpdbg/tests/ |
H A D | phpdbg_get_executable_stream_wrapper.phpt | 30 string $mode, 34 if ($mode[0] !== 'r') { 40 $stream = \fopen($path, $mode);
|
/PHP-7.2/ext/zlib/tests/ |
H A D | zlib_wrapper_meta_data_basic.phpt | 36 ["mode"]=> 56 ["mode"]=>
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | sqlite3_defensive.phpt | 2 SQLite3 defensive mode ini setting 7 die("skip: sqlite3 library version < 3.26: no support for defensive mode");
|
/PHP-7.2/ext/dba/ |
H A D | dba.c | 59 ZEND_ARG_INFO(0, mode) 66 ZEND_ARG_INFO(0, mode) 310 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \ 317 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \ 575 static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode) in php_dba_update() argument 598 if (info->hnd->update(info, key_str, key_len, val, val_len, mode) == SUCCESS) { in php_dba_update() 649 char mode[4], *pmode, *lock_file_mode = NULL; in php_dba_open() local 733 strlcpy(mode, Z_STRVAL(args[1]), sizeof(mode)); in php_dba_open() 734 pmode = &mode[0]; in php_dba_open() 864 info->mode = modenr; in php_dba_open() [all …]
|
/PHP-7.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_sjis_mac.c | 283 int c1, c2, s1, s2, mode; in mbfl_filt_conv_wchar_sjis_mac() local 536 mode = (filter->cache & 0xf0000) >> 16; in mbfl_filt_conv_wchar_sjis_mac() 541 if (mode == 0x1) { in mbfl_filt_conv_wchar_sjis_mac() 563 } else if (mode == 0x2) { in mbfl_filt_conv_wchar_sjis_mac() 571 } else if (mode == 0x4) { in mbfl_filt_conv_wchar_sjis_mac() 585 mode = (filter->cache & 0xf0000) >> 16; in mbfl_filt_conv_wchar_sjis_mac() 590 if (mode == 0x2) { in mbfl_filt_conv_wchar_sjis_mac() 617 } else if (mode == 0x4) { in mbfl_filt_conv_wchar_sjis_mac() 631 mode = (filter->cache & 0xf0000) >> 16; in mbfl_filt_conv_wchar_sjis_mac() 636 if (mode == 0x4) { in mbfl_filt_conv_wchar_sjis_mac()
|