/PHP-7.3/ext/standard/tests/file/ |
H A D | chmod_basic-win32-mb.phpt | 32 Setting mode 777 gives mode 666 33 Setting mode 776 gives mode 666 34 Setting mode 775 gives mode 666 35 Setting mode 774 gives mode 666 36 Setting mode 773 gives mode 666 37 Setting mode 772 gives mode 666 38 Setting mode 771 gives mode 666 39 Setting mode 770 gives mode 666 40 Setting mode 767 gives mode 666 41 Setting mode 766 gives mode 666 [all …]
|
H A D | chmod_basic-win32.phpt | 32 Setting mode 777 gives mode 666 33 Setting mode 776 gives mode 666 34 Setting mode 775 gives mode 666 35 Setting mode 774 gives mode 666 36 Setting mode 773 gives mode 666 37 Setting mode 772 gives mode 666 38 Setting mode 771 gives mode 666 39 Setting mode 770 gives mode 666 40 Setting mode 767 gives mode 666 41 Setting mode 766 gives mode 666 [all …]
|
H A D | is_executable_basic-win32-mb.phpt | 25 for($mode = 0000; $mode <= 0777; $mode++) { 26 echo "-- Changing mode of file to $mode --\n"; 27 chmod($filename, $mode); // change mode of file 40 -- Changing mode of file to 0 -- 42 -- Changing mode of file to 1 -- 44 -- Changing mode of file to 2 -- 46 -- Changing mode of file to 3 -- 48 -- Changing mode of file to 4 -- 50 -- Changing mode of file to 5 -- 52 -- Changing mode of file to 6 -- [all …]
|
H A D | is_executable_basic-win32.phpt | 25 for($mode = 0000; $mode <= 0777; $mode++) { 26 echo "-- Changing mode of file to $mode --\n"; 27 chmod($filename, $mode); // change mode of file 40 -- Changing mode of file to 0 -- 42 -- Changing mode of file to 1 -- 44 -- Changing mode of file to 2 -- 46 -- Changing mode of file to 3 -- 48 -- Changing mode of file to 4 -- 50 -- Changing mode of file to 5 -- 52 -- Changing mode of file to 6 -- [all …]
|
H A D | is_executable_basic.phpt | 37 for($mode = 0000; $mode <= 0777; $mode++) { 38 echo "-- Changing mode of file to $mode --\n"; 39 chmod($filename, $mode); // change mode of file 52 -- Changing mode of file to 0 -- 54 -- Changing mode of file to 1 -- 56 -- Changing mode of file to 2 -- 58 -- Changing mode of file to 3 -- 60 -- Changing mode of file to 4 -- 62 -- Changing mode of file to 5 -- 64 -- Changing mode of file to 6 -- [all …]
|
H A D | is_readable_basic-win32-mb.phpt | 27 for($mode = 0000; $mode <= 0777; $mode++) { 28 echo "-- Changing mode of file to $mode --\n"; 29 chmod($filename, $mode); // change mode of file 42 -- Changing mode of file to 0 -- 44 -- Changing mode of file to 1 -- 46 -- Changing mode of file to 2 -- 48 -- Changing mode of file to 3 -- 50 -- Changing mode of file to 4 -- 52 -- Changing mode of file to 5 -- 54 -- Changing mode of file to 6 -- [all …]
|
H A D | is_readable_basic-win32.phpt | 27 for($mode = 0000; $mode <= 0777; $mode++) { 28 echo "-- Changing mode of file to $mode --\n"; 29 chmod($filename, $mode); // change mode of file 42 -- Changing mode of file to 0 -- 44 -- Changing mode of file to 1 -- 46 -- Changing mode of file to 2 -- 48 -- Changing mode of file to 3 -- 50 -- Changing mode of file to 4 -- 52 -- Changing mode of file to 5 -- 54 -- Changing mode of file to 6 -- [all …]
|
H A D | is_readable_basic.phpt | 37 for($mode = 0000; $mode <= 0777; $mode++) { 38 echo "-- Changing mode of file to $mode --\n"; 39 chmod($filename, $mode); // change mode of file 52 -- Changing mode of file to 0 -- 54 -- Changing mode of file to 1 -- 56 -- Changing mode of file to 2 -- 58 -- Changing mode of file to 3 -- 60 -- Changing mode of file to 4 -- 62 -- Changing mode of file to 5 -- 64 -- Changing mode of file to 6 -- [all …]
|
H A D | mkdir_rmdir_variation-win32-mb.phpt | 22 for($mode = 0000; $mode <= 0777; $mode++) { 23 echo "-- Changing mode of directory to $mode --\n"; 58 -- Changing mode of directory to 0 -- 61 -- Changing mode of directory to 1 -- 64 -- Changing mode of directory to 2 -- 67 -- Changing mode of directory to 3 -- 70 -- Changing mode of directory to 4 -- 73 -- Changing mode of directory to 5 -- 76 -- Changing mode of directory to 6 -- 79 -- Changing mode of directory to 7 -- [all …]
|
H A D | mkdir_rmdir_variation-win32.phpt | 22 for($mode = 0000; $mode <= 0777; $mode++) { 23 echo "-- Changing mode of directory to $mode --\n"; 58 -- Changing mode of directory to 0 -- 61 -- Changing mode of directory to 1 -- 64 -- Changing mode of directory to 2 -- 67 -- Changing mode of directory to 3 -- 70 -- Changing mode of directory to 4 -- 73 -- Changing mode of directory to 5 -- 76 -- Changing mode of directory to 6 -- 79 -- Changing mode of directory to 7 -- [all …]
|
H A D | is_writable_basic.phpt | 36 for($mode = 0000; $mode <= 0777; $mode++) { 37 echo "-- Changing mode of file to $mode --\n"; 38 chmod($filename, $mode); // change mode of file 52 -- Changing mode of file to 0 -- 55 -- Changing mode of file to 1 -- 58 -- Changing mode of file to 2 -- 61 -- Changing mode of file to 3 -- 64 -- Changing mode of file to 4 -- 67 -- Changing mode of file to 5 -- 70 -- Changing mode of file to 6 -- [all …]
|
H A D | mkdir_rmdir_variation1.phpt | 32 for($mode = 0000; $mode <= 0777; $mode++) { 33 echo "-- Changing mode of directory to $mode --\n"; 43 -- Changing mode of directory to 0 -- 46 -- Changing mode of directory to 1 -- 49 -- Changing mode of directory to 2 -- 52 -- Changing mode of directory to 3 -- 55 -- Changing mode of directory to 4 -- 58 -- Changing mode of directory to 5 -- 61 -- Changing mode of directory to 6 -- 64 -- Changing mode of directory to 7 -- [all …]
|
H A D | fgetcsv_variation26.phpt | 74 } //end of mode loop 82 -- Testing fgetcsv() with file opened using w mode -- 87 -- Testing fgetcsv() with file opened using wb mode -- 92 -- Testing fgetcsv() with file opened using wt mode -- 97 -- Testing fgetcsv() with file opened using a mode -- 112 -- Testing fgetcsv() with file opened using x mode -- 127 -- Testing fgetcsv() with file opened using w mode -- 142 -- Testing fgetcsv() with file opened using a mode -- 157 -- Testing fgetcsv() with file opened using x mode -- 172 -- Testing fgetcsv() with file opened using w mode -- [all …]
|
H A D | userstreams_004.phpt | 6 public $mode; 7 function stream_open($path, $mode, $openedpath) { 15 function stream_lock($mode) { 16 $this->mode = $mode; 19 function test($name, $fd, $mode) { 21 flock($fd, $mode); 23 var_dump($data['wrapper_data']->mode === $mode); 34 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) { 35 test("fclock($mode)", $fd, constant($mode)); 36 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB);
|
H A D | fgetcsv_variation8.phpt | 64 // close the file if the mode to be used is read mode and re-open using read mode 91 } //end of mode loop 99 -- Testing fgetcsv() with file opened using r mode -- 107 -- Testing fgetcsv() with file opened using rb mode -- 115 -- Testing fgetcsv() with file opened using rt mode -- 123 -- Testing fgetcsv() with file opened using r+ mode -- 147 -- Testing fgetcsv() with file opened using a+ mode -- 171 -- Testing fgetcsv() with file opened using w+ mode -- 195 -- Testing fgetcsv() with file opened using x+ mode -- 219 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
H A D | fgetcsv_variation9.phpt | 63 // close the file if the mode to be used is read mode and re-open using read mode 89 } //end of mode loop 97 -- Testing fgetcsv() with file opened using r mode -- 105 -- Testing fgetcsv() with file opened using rb mode -- 113 -- Testing fgetcsv() with file opened using rt mode -- 121 -- Testing fgetcsv() with file opened using r+ mode -- 145 -- Testing fgetcsv() with file opened using a+ mode -- 169 -- Testing fgetcsv() with file opened using w+ mode -- 193 -- Testing fgetcsv() with file opened using x+ mode -- 217 -- Testing fgetcsv() with file opened using r mode -- [all …]
|
/PHP-7.3/main/ |
H A D | php_memory_streams.h | 31 #define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC) argument 32 #define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC) argument 33 #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) S… argument 37 #define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_… argument 38 #define php_stream_temp_create_ex(mode, max_memory_usage, tmpdir) _php_stream_temp_create_ex((mode)… argument 39 #define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_mem… argument 40 #define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (ma… argument 44 PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC); 48 PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC); 52 PHPAPI int php_stream_mode_from_str(const char *mode); [all …]
|
/PHP-7.3/ext/mbstring/libmbfl/tests/ |
H A D | conv_kana.c | 32 int mode = 0; in main() local 51 mode |= 0x1; in main() 54 mode |= 0x10; in main() 57 mode |= 0x2; in main() 60 mode |= 0x20; in main() 63 mode |= 0x4; in main() 66 mode |= 0x40; in main() 69 mode |= 0x8; in main() 72 mode |= 0x80; in main() 75 mode |= 0x100; in main() [all …]
|
/PHP-7.3/main/streams/ |
H A D | php_stream_plain_wrapper.h | 29 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument 32 …define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument 34 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC); 35 #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_C… argument 37 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST… 38 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument 40 PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC); 41 #define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_C… argument 52 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string *… 53 … php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_fil… argument [all …]
|
/PHP-7.3/ext/calendar/tests/ |
H A D | jddayofweek.phpt | 10 echo "--- mode $mode ---\n"; 19 --- mode 0 --- 28 --- mode 1 --- 37 --- mode 2 --- 47 --- mode 0 --- 56 --- mode 1 --- 65 --- mode 2 --- 75 --- mode 0 --- 84 --- mode 1 --- 93 --- mode 2 --- [all …]
|
H A D | jdmonthname.phpt | 9 for ($mode = 0; $mode <= 6; $mode++) { 10 echo "--- mode $mode ---\n"; 19 --- mode 0 --- 33 --- mode 1 --- 47 --- mode 2 --- 61 --- mode 3 --- 75 --- mode 4 --- 89 --- mode 5 --- 103 --- mode 6 --- 118 --- mode 0 --- [all …]
|
/PHP-7.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_tl_jisx0201_jisx0208.c | 44 int mode = ((mbfl_filt_tl_jisx0201_jisx0208_param *)filt->opaque)->mode; in mbfl_filt_tl_jisx0201_jisx0208() local 48 if ((mode & MBFL_FILT_TL_HAN2ZEN_ALL) in mbfl_filt_tl_jisx0201_jisx0208() 52 } else if ((mode & MBFL_FILT_TL_HAN2ZEN_ALPHA) && in mbfl_filt_tl_jisx0201_jisx0208() 65 if (mode & in mbfl_filt_tl_jisx0201_jisx0208() 68 if ((mode & MBFL_FILT_TL_HAN2ZEN_KATAKANA) && in mbfl_filt_tl_jisx0201_jisx0208() 69 (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { in mbfl_filt_tl_jisx0201_jisx0208() 101 (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { in mbfl_filt_tl_jisx0201_jisx0208() 140 if (mode & MBFL_FILT_TL_HAN2ZEN_COMPAT1) { in mbfl_filt_tl_jisx0201_jisx0208() 168 if (mode & 0xf0) { /* zenkaku to hankaku */ in mbfl_filt_tl_jisx0201_jisx0208() 182 if (mode & in mbfl_filt_tl_jisx0201_jisx0208() [all …]
|
/PHP-7.3/ext/intl/tests/ |
H A D | ut_common.inc | 3 * Run unit test in OO- and in procedural mode. 10 // Run unit test in OO mode. 11 $GLOBALS['oo-mode'] = true; 14 // Run unit test in procedural mode. 15 $GLOBALS['oo-mode'] = false; 43 * Wrappers around Collator methods to run them in either OO- or procedural mode. 120 return $GLOBALS['oo-mode'] ? Collator::getDefault() : collator_get_default(); 135 if ($GLOBALS['oo-mode']) { 199 return $GLOBALS['oo-mode'] ? $fmt->getPattern() : numfmt_get_pattern( $fmt ); 233 return $GLOBALS['oo-mode'] ? Locale::getDefault( ) : locale_get_default(); [all …]
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | sizeof_basic2.phpt | 26 echo "default mode: "; 29 echo "COUNT_NORMAL mode: "; 37 echo "default mode: "; 48 echo "default mode: "; 59 echo "default mode: "; 73 default mode: int(4) 75 COUNT_NORMAL mode: int(4) 80 default mode: int(3) 82 COUNT_NORMAL mode: int(3) 87 default mode: int(3) [all …]
|
/PHP-7.3/Zend/ |
H A D | zend_virtual_cwd.h | 236 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument 240 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument 257 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument 267 #define VCWD_CREAT(path, mode) creat(path, mode) argument 283 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument 287 #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) argument 291 #define VCWD_ACCESS(pathname, mode) access(pathname, mode) argument 293 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument 337 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) argument 341 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) argument [all …]
|