/PHP-7.2/ext/standard/ |
H A D | cyr_convert.c | 208 size_t i; in php_convert_cyr_string() local 261 for (i = 0; i < length; i++) { in php_convert_cyr_string() 262 tmp = (from_table == NULL)? str[i] : from_table[ str[i] ]; in php_convert_cyr_string() 263 str[i] = (to_table == NULL) ? tmp : to_table[tmp + 256]; in php_convert_cyr_string()
|
H A D | proc_open.c | 176 int i; in proc_open_rsrc_dtor() local 186 for (i = 0; i < proc->npipes; i++) { in proc_open_rsrc_dtor() 190 proc->pipes[i] = 0; in proc_open_rsrc_dtor() 417 int i; in PHP_FUNCTION() local 695 for (i = 0; i < ndesc; i++) { in PHP_FUNCTION() 778 for (i = 0; i < ndesc; i++) { in PHP_FUNCTION() 823 for (i = 0; i < ndesc; i++) { in PHP_FUNCTION() 829 if (dup2(descriptors[i].childend, descriptors[i].index) < 0) in PHP_FUNCTION() 831 if (descriptors[i].childend != descriptors[i].index) in PHP_FUNCTION() 850 for (i = 0; i < ndesc; i++) { in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionProperty_getModifiers_basic.phpt | 24 for ($i = 1;$i <= 6;$i++) { 25 $rp = new ReflectionProperty("C", "a$i"); 26 echo "C::a$i: "; 28 $rp = new ReflectionProperty("D", "a$i"); 29 echo "D::a$i: ";
|
/PHP-7.2/ext/dba/tests/ |
H A D | dba005.phpt | 19 $i=0; 22 $i++; 24 echo $i; 25 for ($i=1; $i<6; $i++) { 26 echo dba_exists("key$i", $db_file) ? "Y" : "N";
|
H A D | dba010.phpt | 20 $i=0; 23 $i++; 25 echo $i; 27 for ($i=1; $i<5; $i++) { 28 echo dba_exists("[key$i]name$i", $db_file) ? "Y" : "N";
|
/PHP-7.2/ext/curl/tests/ |
H A D | bug45161.phpt | 24 $i = $start = $end = 100000.00; 25 for ($i = 0; $i < 100; $i++) { 34 for($i = 0; $i < 1024; $i++) {
|
/PHP-7.2/tests/basic/ |
H A D | 012.phpt | 15 for ($i=1; $i<$argc; $i++) { 16 echo ($i-1).": ".$argv[$i]."\n";
|
/PHP-7.2/ext/session/tests/ |
H A D | session_encode_variation4.phpt | 33 string(52) "foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;"
|
H A D | session_encode_variation5.phpt | 33 string(64) "data|a:5:{i:0;i:1;i:1;i:2;i:2;i:3;s:3:"foo";R:1;s:4:"blah";R:1;}"
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 441 while (i++ < len) { in phpdbg_parse_variable_with_arg() 442 if (i == len) { in phpdbg_parse_variable_with_arg() 445 switch (input[i]) { in phpdbg_parse_variable_with_arg() 478 if (i == len || (i == len - 1 && input[len - 1] == ']')) { in phpdbg_parse_variable_with_arg() 535 …e=\"undefined\" variable=\"%.*s\"", "%.*s is undefined", (int) input[i] == ']' ? i + 1 : i, input); in phpdbg_parse_variable_with_arg() 544 if (i == len) { in phpdbg_parse_variable_with_arg() 744 uint32_t op_num, i; in phpdbg_check_caught_ex() local 755 for (i = 0; i < op_array->last_try_catch && op_array->try_catch_array[i].try_op <= op_num; i++) { in phpdbg_check_caught_ex() 821 int i; in phpdbg_short_zval_print() local 823 for (i = 0; i < ZSTR_LEN(str); i++) { in phpdbg_short_zval_print() [all …]
|
/PHP-7.2/ext/wddx/ |
H A D | wddx.c | 232 for (i = 0; i < stack->top; i++) { in wddx_stack_destroy() 730 if (atts) for (i=0; atts[i]; i++) { in php_wddx_push_element() 750 if (atts) for (i = 0; atts[i]; i++) { in php_wddx_push_element() 770 if (atts) for (i = 0; atts[i]; i++) { in php_wddx_push_element() 802 if (atts) for (i = 0; atts[i]; i++) { in php_wddx_push_element() 803 if (!strcmp((char *)atts[i], EL_NAME) && atts[i+1] && atts[i+1][0]) { in php_wddx_push_element() 816 if (atts) for (i = 0; atts[i]; i++) { in php_wddx_push_element() 851 if (atts) for (i = 0; atts[i]; i++) { in php_wddx_push_element() 852 if (!strcmp((char *)atts[i], EL_NAME) && atts[i+1] && atts[i+1][0]) { in php_wddx_push_element() 1173 for (i=0; i<num_args; i++) { in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/fileinfo/ |
H A D | create_data_file.php | 9 for ($i = 0; $i < $dta_l; $i++) { variable 10 printf("0x%02X, ", ord($dta[$i]));
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_max_links.phpt | 22 for ($i = 1; $i <= 5; $i++) 23 if ($links[$i] = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 25 $i, mysqli_connect_errno(), mysqli_connect_error(), 26 mysqli_errno($links[$i]), mysqli_error($links[$i])); 28 for ($i = 1; $i <= 5; $i++) { 29 if ($res = mysqli_query($links[$i], 'SELECT id FROM test LIMIT 1')) { 30 printf("[%03d] Can run query on link %d\n", 5 + $i, $i); 33 mysqli_close($links[$i]);
|
/PHP-7.2/ext/gmp/tests/ |
H A D | gmp_prob_prime.phpt | 20 for ($i = -1; $i < 12; $i++) { 21 var_dump(gmp_prob_prime((773*$i)-($i*7)-1, $i)); 23 var_dump(gmp_prob_prime(gmp_add($n, $i-1), $i));
|
/PHP-7.2/ext/opcache/ |
H A D | zend_persist.c | 269 uint32_t i; in zend_persist_ast() local 280 for (i = 0; i < list->children; i++) { in zend_persist_ast() 282 copy->child[i] = zend_persist_ast(copy->child[i]); in zend_persist_ast() 289 for (i = 0; i < children; i++) { in zend_persist_ast() 522 for (i = 0; i < num_args; i++) { in zend_persist_op_array_ex() 575 int i; in zend_persist_op_array_ex() local 577 for (i = 0; i < op_array->last_var; i++) { in zend_persist_op_array_ex() 688 for (i = 0; i < ce->default_properties_count; i++) { in zend_persist_class_entry() 696 for (i = 0; i < ce->default_static_members_count; i++) { in zend_persist_class_entry() 750 i++; in zend_persist_class_entry() [all …]
|
H A D | zend_accelerator_blacklist.c | 77 int i, pcre_error_offset; in zend_accel_blacklist_update_regexp() local 93 for (i = 0; i < blacklist->pos; ) { in zend_accel_blacklist_update_regexp() 94 c = blacklist->entries[i].path; in zend_accel_blacklist_update_regexp() 161 if (*c || i == blacklist->pos - 1) { in zend_accel_blacklist_update_regexp() 168 i++; in zend_accel_blacklist_update_regexp() 192 i++; in zend_accel_blacklist_update_regexp() 317 unsigned int i; local 329 for(i=0 ; i<globbuf.gl_pathc; i++) { 357 int i; local 359 for (i = 0; i < blacklist->pos; i++) { [all …]
|
/PHP-7.2/ext/pcre/pcrelib/testdata/ |
H A D | testinput20 | 4 /^\x{ffff}+/i 7 /^\x{ffff}?/i 10 /^\x{ffff}*/i 13 /^\x{ffff}{3}/i 16 /^\x{ffff}{0,3}/i
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 45 unsigned i; in fpm_sockets_cleanup() local 54 for (i = 0; i < sockets_list.used; i++, ls++) { in fpm_sockets_cleanup() 67 if (i) { in fpm_sockets_cleanup() 85 for (i = 0; i < socket_set_count; i++) { in fpm_sockets_cleanup() 86 if (!i) { in fpm_sockets_cleanup() 147 unsigned i; in fpm_sockets_hash_op() local 150 for (i = 0; i < sockets_list.used; i++, ls++) { in fpm_sockets_hash_op() 387 for (i = 0; i < FPM_ENV_SOCKET_SET_MAX; i++) { in fpm_sockets_init_main() 388 if (!i) { in fpm_sockets_init_main() 457 for (i = 0; i < sockets_list.used; ) { in fpm_sockets_init_main() [all …]
|
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | pcre_exec.c | 2792 for (i = 1; i <= min; i++) in match() 2835 for (i = min; i < max; i++) in match() 2924 for (i = 1; i <= min; i++) in match() 2944 for (i = 1; i <= min; i++) in match() 3148 for (i = 1; i <= min; i++) in match() 3423 for (i = 1; i <= min; i++) in match() 3540 for (i = 1; i <= min; i++) in match() 3603 for (i = 1; i <= min; i++) in match() 3812 for (i = 1; i <= min; i++) in match() 3827 for (i = 1; i <= min; i++) in match() [all …]
|
/PHP-7.2/tests/lang/ |
H A D | 022.phpt | 6 function switchtest ($i, $j) 8 switch ($i) { 27 for ($i=0; $i<3; $i++) {
|
/PHP-7.2/ext/zip/lib/ |
H A D | zip_name_locate.c | 55 zip_uint64_t i; in _zip_name_locate() local 69 for (i=0; i<za->nentry; i++) { in _zip_name_locate() 70 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate() 84 return (zip_int64_t)i; in _zip_name_locate()
|
/PHP-7.2/sapi/fpm/fpm/events/ |
H A D | devpoll.c | 75 int i; in fpm_event_devpoll_init() local 97 for (i = 0; i < max; i++) { in fpm_event_devpoll_init() 98 pollfds[i].fd = -1; in fpm_event_devpoll_init() 150 int ret, i; in fpm_event_devpoll_wait() local 172 for (i = 0; i < ret; i++) { in fpm_event_devpoll_wait() 179 if (q->ev && q->ev->fd == active_pollfds[i].fd) { in fpm_event_devpoll_wait()
|
/PHP-7.2/Zend/ |
H A D | zend_smart_str.c | 69 size_t i, len = l; in zend_compute_escaped_string_len() local 70 for (i = 0; i < l; ++i) { in zend_compute_escaped_string_len() 71 char c = s[i]; in zend_compute_escaped_string_len() 84 size_t i, len = zend_compute_escaped_string_len(s, l); in smart_str_append_escaped() local 90 for (i = 0; i < l; ++i) { in smart_str_append_escaped() 91 unsigned char c = s[i]; in smart_str_append_escaped()
|
/PHP-7.2/ext/readline/ |
H A D | readline_cli.c | 216 int i; in cli_is_valid_code() local 221 for (i = 0; i < len; ++i) { in cli_is_valid_code() 224 switch(code[i]) { in cli_is_valid_code() 264 i++; in cli_is_valid_code() 272 i++; in cli_is_valid_code() 279 i++; in cli_is_valid_code() 287 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code() 288 i += 2; in cli_is_valid_code() 328 if (code[i-1] == '*' && code[i] == '/') { in cli_is_valid_code() 354 …lse if (code[i - (heredoc_len + 2)] == '\n' && !strncmp(code + i - heredoc_len - 1, heredoc_tag, h… in cli_is_valid_code() [all …]
|
/PHP-7.2/ext/filter/ |
H A D | sanitizing_filters.c | 114 size_t i; in php_filter_strip() local 126 for (i = 0; i < Z_STRLEN_P(value); i++) { in php_filter_strip() 127 if ((str[i] >= 127) && (flags & FILTER_FLAG_STRIP_HIGH)) { in php_filter_strip() 131 ZSTR_VAL(buf)[c] = str[i]; in php_filter_strip() 151 size_t l, i; in filter_map_update() local 154 for (i = 0; i < l; ++i) { in filter_map_update() 155 (*map)[allowed_list[i]] = flag; in filter_map_update() 162 size_t i; in filter_map_apply() local 169 for (i = 0; i < Z_STRLEN_P(value); i++) { in filter_map_apply() 170 if ((*map)[str[i]]) { in filter_map_apply() [all …]
|