/PHP-7.4/ext/phar/tests/tar/files/ |
H A D | make.dangerous.tar.php.inc | 50 'mode' => 0x8000 + 0644, 60 if ($stat['mode'] & 0x4000) { 62 } else if ($stat['mode'] & 0x8000) { 64 } else if ($stat['mode'] & 0xA000) { 83 '12345678', // have a mode that allows the name to overflow 154 'mode' => 0x4000 + 0644,
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | stream_rfc2397_002.phpt | 43 ["mode"]=> 64 ["mode"]=> 95 ["mode"]=> 120 ["mode"]=> 145 ["mode"]=> 172 ["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 | fgetss_variation4.phpt | 41 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n"; 81 -- Testing fgetss() with file opened using r mode -- 96 -- Testing fgetss() with file opened using rb mode -- 111 -- Testing fgetss() with file opened using rt mode -- 126 -- Testing fgetss() with file opened using r+ mode -- 141 -- Testing fgetss() with file opened using r+b mode -- 156 -- Testing fgetss() with file opened using r+t mode --
|
H A D | fread_variation4.phpt | 108 -- File opened in mode a -- 125 -- File opened in mode ab -- 142 -- File opened in mode at -- 159 -- File opened in mode w -- 176 -- File opened in mode wb -- 193 -- File opened in mode wt -- 210 -- File opened in mode x -- 263 -- File opened in mode a -- 314 -- File opened in mode w -- 365 -- File opened in mode x -- [all …]
|
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 ---
|
/PHP-7.4/ext/phar/ |
H A D | stream.h | 22 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int op… 25 …apper_open_url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_…
|
/PHP-7.4/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.4/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
|
H A D | strict_include_explicit_weak_2.inc | 9 takes_int(1.0); // succeeds in weak mode
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.h | 73 php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, … 74 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.4/TSRM/ |
H A D | tsrm_win32.c | 193 TSRM_API int tsrm_win32_access(const char *pathname, int mode) in tsrm_win32_access() argument 224 int ret = php_win32_ioutil_access_w(pathw, mode); in tsrm_win32_access() 225 if (0 > ret || X_OK == mode || F_OK == mode) { in tsrm_win32_access() 290 if(mode == 0 || mode > 6) { in tsrm_win32_access() 296 } else if(mode <= 2) { in tsrm_win32_access() 302 } else if(mode <= 4) { in tsrm_win32_access() 451 int fno, type_len, read, mode; in popen_ex() local 581 fno = _open_osfhandle((tsrm_intptr_t)in, _O_RDONLY | mode); in popen_ex() 584 fno = _open_osfhandle((tsrm_intptr_t)out, _O_WRONLY | mode); in popen_ex() 682 shm->descriptor->shm_perm.mode = flags; in shmget() [all …]
|
/PHP-7.4/win32/ |
H A D | ioutil.h | 272 PW32IO int php_win32_ioutil_access_w(const wchar_t *path, mode_t mode); 273 PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode); 280 __forceinline static int php_win32_ioutil_access(const char *path, mode_t mode) in php_win32_ioutil_access() argument 292 ret = php_win32_ioutil_access_w(pathw, mode); in php_win32_ioutil_access() 307 mode_t mode = 0; in php_win32_ioutil_open() local 323 mode = (mode_t) va_arg(arg, int); in php_win32_ioutil_open() 327 ret = php_win32_ioutil_open_w(pathw, flags, mode); in php_win32_ioutil_open() 532 __forceinline static int php_win32_ioutil_chmod(const char *patha, int mode) in php_win32_ioutil_chmod() argument 545 ret = _wchmod(pathw, mode); in php_win32_ioutil_chmod() 559 __forceinline static int php_win32_ioutil_mkdir(const char *path, mode_t mode) in php_win32_ioutil_mkdir() argument [all …]
|
/PHP-7.4/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 | 5 /* Prototype: int count ( mixed $var [, int $mode] ); 222 For mode '0' count is => int(3) 223 For mode '1' count is => int(9) 224 For mode '0' count is => int(3) 225 For mode '1' count is => int(9) 226 For mode '-1' count is => int(3) 227 For mode '-1.45' count is => int(3) 228 For mode '2' count is => int(3) 229 For mode '1' count is => int(9) 230 For mode '' count is => int(3) [all …]
|
/PHP-7.4/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.4/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.4/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.4/ext/zlib/tests/ |
H A D | zlib_wrapper_meta_data_basic.phpt | 36 ["mode"]=> 56 ["mode"]=>
|
/PHP-7.4/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");
|