/PHP-5.6/ext/mcrypt/ |
H A D | mcrypt.c | 57 ZEND_ARG_INFO(0, mode) 131 ZEND_ARG_INFO(0, mode) 141 ZEND_ARG_INFO(0, mode) 191 ZEND_ARG_INFO(0, mode) 199 ZEND_ARG_INFO(0, mode) 207 ZEND_ARG_INFO(0, mode) 545 mode, in PHP_FUNCTION() 1369 zval **mode; in PHP_FUNCTION() local 1385 zval **mode; in PHP_FUNCTION() local 1401 zval **mode; in PHP_FUNCTION() local [all …]
|
/PHP-5.6/tests/lang/ |
H A D | bug24951.phpt | 5 function test($s, $mode) 7 …return (($mode & PHP_OUTPUT_HANDLER_START)?"[":"") . $s . (($mode & PHP_OUTPUT_HANDLER_END)?"]\n":…
|
/PHP-5.6/ext/pcre/pcrelib/testdata/ |
H A D | testinput21 | 2 right away, and can be any old pattern compiled in 8-bit mode ("abc" is 12 In 16-bit mode with options: S>testdata/saved16LE-1 14 In 32-bit mode with options: S>testdata/saved32LE-1
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | php_uname_basic.phpt | 5 /* Prototype: string php_uname ([ string $mode ] ) 13 echo "\n-- Try all the defined mode's --\n"; 28 -- Try all the defined mode's --
|
H A D | php_uname_error.phpt | 5 /* Prototype: string php_uname ([ string $mode ] ) 14 echo "\n-- Testing php_uname() function with invalid mode --\n"; 15 // am invalid mode shoudl result in same o/p as mode 'a' 40 -- Testing php_uname() function with invalid mode --
|
/PHP-5.6/ext/mysql/tests/ |
H A D | mysql_sql_safe_mode.phpt | 22 printf("[001] Safe mode not working properly?\n"); 27 printf("[002] Safe mode not working properly?\n"); 33 Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in %s on… 37 Notice: mysql_pconnect(): SQL safe mode in effect - ignoring host/user/password information in %s o…
|
/PHP-5.6/ext/spl/internal/ |
H A D | recursiveregexiterator.inc | 28 * @param mode operation mode (one of self::MATCH, self::GET_MATCH, 34 function __construct(RecursiveIterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { 35 parent::__construct($it, $regex, $mode, $flags, $preg_flags);
|
/PHP-5.6/ext/spl/ |
H A D | spl_directory.h | 128 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument 134 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
|
/PHP-5.6/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
|
/PHP-5.6/ext/standard/tests/file/ |
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 | 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 …]
|
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 | fscanf_variation51.phpt | 2 Test fscanf() function: usage variations - file opened in write only mode 11 /* Test fscanf() to scan a file for read when file is opened inwrite only mode */ 15 echo "*** Test fscanf(): to read from a file opened in write only mode ***\n"; 41 foreach($modes as $mode) { 43 $file_handle = fopen($filename, $mode); 69 *** Test fscanf(): to read from a file opened in write only mode ***
|
H A D | fgetss_variation1.phpt | 45 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n"; 79 -- Testing fgetss() with file opened using w mode -- 89 -- Testing fgetss() with file opened using wb mode -- 99 -- Testing fgetss() with file opened using wt mode -- 109 -- Testing fgetss() with file opened using a mode -- 119 -- Testing fgetss() with file opened using ab mode -- 129 -- Testing fgetss() with file opened using at mode -- 139 -- Testing fgetss() with file opened using x mode -- 149 -- Testing fgetss() with file opened using xb mode -- 159 -- Testing fgetss() with file opened using xt mode --
|
/PHP-5.6/ext/standard/ |
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 203 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_php() 212 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_php() 339 if (strchr(mode, 'r') || strchr(mode, '+')) { in php_stream_url_wrap_php() 342 if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) { in php_stream_url_wrap_php() 352 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { in php_stream_url_wrap_php() 400 stream = php_stream_fopen_from_file(file, mode); in php_stream_url_wrap_php() 402 stream = php_stream_fopen_from_fd(fd, mode, NULL); in php_stream_url_wrap_php()
|
H A D | php_fopen_wrappers.h | 26 …_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char … 27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode…
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 5 function test($url, $mode) { 6 echo "$url, $mode\n"; 7 $fd = fopen($url, $mode);
|
/PHP-5.6/ext/dba/ |
H A D | dba_dbm.c | 45 #define TRUNC_IT(extension, mode) \ argument 48 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \ 67 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC() 75 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC() 117 if (mode == 1) { /* insert */ in DBA_UPDATE_FUNC()
|
/PHP-5.6/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 111 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int … in php_stream_gzopen() argument 118 if (strchr(mode, '+')) { in php_stream_gzopen() 131 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen() 139 self->gz_file = gzdopen(dup(fd), mode); in php_stream_gzopen() 142 stream = php_stream_alloc_rel(&php_stream_gzio_ops, self, 0, mode); in php_stream_gzopen()
|
/PHP-5.6/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-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_decrypt_3des_cbc.phpt | 11 /* Prototype : string mcrypt_decrypt(string cipher, string key, string data, string mode, string i… 22 $mode = MCRYPT_MODE_CBC; 53 special_var_dump(mcrypt_decrypt($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv)); 60 special_var_dump(mcrypt_decrypt($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i])); 95 …d initialization vector of size 4, but size 8 is required for this encryption mode in %s on line %d 103 …d initialization vector of size 9, but size 8 is required for this encryption mode in %s on line %d
|
H A D | mcrypt_encrypt_3des_cbc.phpt | 11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i… 27 $mode = MCRYPT_MODE_CBC; 49 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv))); 56 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv))); 88 …d initialization vector of size 4, but size 8 is required for this encryption mode in %s on line %d 96 …d initialization vector of size 9, but size 8 is required for this encryption mode in %s on line %d
|
H A D | mcrypt_encrypt_3des_ecb.phpt | 11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i… 20 $mode = MCRYPT_MODE_ECB; 34 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode))); 44 // ivs should be ignored in ecb mode 48 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv)));
|
/PHP-5.6/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;
|