/php-src/ext/standard/ |
H A D | array.c | 1010 return Z_ARRVAL_P(zv); in get_ht_for_iap() 1534 thash = Z_ARRVAL_P(zv); in php_array_walk() 3227 hash = Z_ARRVAL_P(array); 3572 Z_ARRVAL_P(stack)->nNextFreeElement = Z_ARRVAL_P(stack)->nNextFreeElement - 1; 3596 Z_ARRVAL_P(stack)->nNextFreeElement = Z_ARRVAL_P(stack)->nNextFreeElement - 1; 4060 ret = php_array_merge_recursive(Z_ARRVAL_P(dest_zval), Z_ARRVAL_P(src_zval)); 4181 ret = php_array_replace_recursive(Z_ARRVAL_P(dest_zval), Z_ARRVAL_P(src_zval)); 4224 dest = Z_ARRVAL_P(arg); 4309 src = Z_ARRVAL_P(arg); 4558 myht = Z_ARRVAL_P(input); [all …]
|
H A D | file.c | 532 if (zend_hash_num_elements(Z_ARRVAL_P(data))) { in PHP_FUNCTION() 536 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(data), tmp) { in PHP_FUNCTION() 1411 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_dev); in php_fstat() 1412 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_ino); in php_fstat() 1413 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_mode); in php_fstat() 1415 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_uid); in php_fstat() 1416 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_gid); in php_fstat() 1417 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_rdev); in php_fstat() 1418 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_size); in php_fstat() 1747 count = zend_hash_num_elements(Z_ARRVAL_P(fields)); in php_fputcsv() [all …]
|
H A D | url.c | 379 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_SCHEME), &tmp); in PHP_FUNCTION() 383 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_HOST), &tmp); in PHP_FUNCTION() 387 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_PORT), &tmp); in PHP_FUNCTION() 391 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_USER), &tmp); in PHP_FUNCTION() 395 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_PASS), &tmp); in PHP_FUNCTION() 399 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_PATH), &tmp); in PHP_FUNCTION() 403 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_QUERY), &tmp); in PHP_FUNCTION() 407 zend_hash_add_new(Z_ARRVAL_P(return_value), ZSTR_KNOWN(ZEND_STR_FRAGMENT), &tmp); in PHP_FUNCTION() 697 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(&stream->wrapperdata), hdr) { in PHP_FUNCTION() 716 …if ((prev_val = zend_hash_str_find(Z_ARRVAL_P(return_value), Z_STRVAL_P(hdr), (p - Z_STRVAL_P(hdr)… in PHP_FUNCTION()
|
H A D | pack.c | 915 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 942 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 967 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1019 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1029 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1049 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1065 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1085 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1107 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() 1127 zend_symtable_update(Z_ARRVAL_P(return_value), real_name, &val); in PHP_FUNCTION() [all …]
|
H A D | basic_functions.c | 970 argc = zend_hash_num_elements(Z_ARRVAL_P(args)); 977 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), entry) { 1000 count = zend_hash_num_elements(Z_ARRVAL_P(p_longopts)); 1011 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(p_longopts), entry) { 1081 zend_hash_next_index_insert(Z_ARRVAL_P(args), &val); 1091 zend_hash_next_index_insert(Z_ARRVAL_P(args), &val); 1285 add_config_entries(Z_ARRVAL_P(entry), &tmp); 1286 zend_hash_update(Z_ARRVAL_P(retval), key, &tmp); 1318 add_config_entries(Z_ARRVAL_P(retval), return_value); 2429 zend_symtable_update(Z_ARRVAL_P(arr), Z_STR_P(arg1), arg2); [all …]
|
H A D | hrtime.c | 62 zend_hash_real_init_packed(Z_ARRVAL_P(return_value)); in PHP_FUNCTION()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 174 funcname = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_FUNCTION)); in phpdbg_dump_prototype() 176 if ((class = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_OBJECT)))) { in phpdbg_dump_prototype() 180 class = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_CLASS)); in phpdbg_dump_prototype() 184 zval *type = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_TYPE)); in phpdbg_dump_prototype() 191 args = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_ARGS)); in phpdbg_dump_prototype() 208 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), argstmp) { in phpdbg_dump_prototype() 286 file = zend_hash_find_ptr(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_FILE)); in phpdbg_dump_backtrace() 287 zval *line_zv = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_LINE)); in phpdbg_dump_backtrace() 291 function_name = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_FUNCTION)); in phpdbg_dump_backtrace()
|
/php-src/ext/phar/ |
H A D | func_interceptors.c | 444 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_dev); in phar_fancy_stat() 445 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_ino); in phar_fancy_stat() 446 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_mode); in phar_fancy_stat() 447 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_nlink); in phar_fancy_stat() 448 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_uid); in phar_fancy_stat() 449 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_gid); in phar_fancy_stat() 451 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_rdev); in phar_fancy_stat() 452 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_size); in phar_fancy_stat() 453 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_atime); in phar_fancy_stat() 454 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &stat_mtime); in phar_fancy_stat() [all …]
|
/php-src/Zend/ |
H A D | zend_builtin_functions.c | 281 zend_hash_real_init_packed(Z_ARRVAL_P(return_value)); in ZEND_FUNCTION() 282 ZEND_HASH_FILL_PACKED(Z_ARRVAL_P(return_value)) { in ZEND_FUNCTION() 319 Z_ARRVAL_P(return_value)->nNumOfElements = arg_count; in ZEND_FUNCTION() 493 new_val = zend_hash_add_new(Z_ARRVAL_P(dst), key, val); in copy_constant_array() 759 zend_hash_add_new(Z_ARRVAL_P(return_value), key, prop); in add_class_vars() 1381 zend_hash_real_init_packed(Z_ARRVAL_P(return_value)); in get_declared_class_impl() 1382 ZEND_HASH_FILL_PACKED(Z_ARRVAL_P(return_value)) { in get_declared_class_impl() 1677 zend_hash_real_init_packed(Z_ARRVAL_P(arg_array)); in debug_backtrace_get_args() 1678 ZEND_HASH_FILL_PACKED(Z_ARRVAL_P(arg_array)) { in debug_backtrace_get_args() 1794 Z_ARRVAL_P(arg_array)->nNumOfElements = num_args; in debug_backtrace_get_args() [all …]
|
H A D | zend_API.c | 2033 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_long() 2042 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_null() 2051 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_bool() 2060 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_resource() 2069 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_double() 2078 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_str() 2087 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_string() 2096 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_stringl() 2105 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_array() 2114 zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_index_object() [all …]
|
/php-src/ext/spl/ |
H A D | spl_functions.c | 29 if ((tmp = zend_hash_find(Z_ARRVAL_P(list), pce->name)) == NULL) { in spl_add_class_name() 32 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t); in spl_add_class_name()
|
H A D | spl_fixedarray.c | 605 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), current); in PHP_METHOD() 615 zend_hash_add_new(Z_ARRVAL_P(return_value), key, current); in PHP_METHOD() 692 zend_hash_index_update(Z_ARRVAL_P(return_value), i, &intern->array.elements[i]); in PHP_METHOD() 712 num = zend_hash_num_elements(Z_ARRVAL_P(data)); in PHP_METHOD() 720 ZEND_HASH_FOREACH_KEY(Z_ARRVAL_P(data), num_index, str_index) { in PHP_METHOD() 738 ZEND_HASH_FOREACH_NUM_KEY_VAL(Z_ARRVAL_P(data), num_index, element) { in PHP_METHOD() 748 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(data), element) { in PHP_METHOD()
|
/php-src/ext/filter/ |
H A D | filter.c | 282 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(options), "default", sizeof("default") - 1)) != NULL) { in php_zval_filter() 325 zend_symtable_str_exists(Z_ARRVAL_P(orig_array_ptr), var, strlen(var))) { in php_sapi_filter() 378 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(value), element) { in php_zval_filter_recursive() 451 if (array_ptr && zend_hash_exists(Z_ARRVAL_P(array_ptr), var)) { in PHP_FUNCTION() 557 if ((tmp = zend_hash_find(Z_ARRVAL_P(input), arg_key)) == NULL) { in php_filter_array_handler() 566 Z_TYPE_P(arg_elm) == IS_ARRAY ? Z_ARRVAL_P(arg_elm) : NULL, in php_filter_array_handler() 570 zend_hash_update(Z_ARRVAL_P(return_value), arg_key, &nval); in php_filter_array_handler() 604 if (!input || (tmp = zend_hash_find(Z_ARRVAL_P(input), var)) == NULL) { in PHP_FUNCTION() 616 (def = zend_hash_str_find_deref(Z_ARRVAL_P(opt), "default", sizeof("default") - 1)) != NULL in PHP_FUNCTION()
|
/php-src/ext/soap/ |
H A D | php_http.c | 701 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(digest), "nc", sizeof("nc")-1)) != NULL && in make_http_soap_request() 713 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(digest), "realm", sizeof("realm")-1)) != NULL && in make_http_soap_request() 764 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(digest), "qop", sizeof("qop")-1)) != NULL && in make_http_soap_request() 804 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(digest), "qop", sizeof("qop")-1)) != NULL && in make_http_soap_request() 854 if (zend_hash_num_elements(Z_ARRVAL_P(cookies)) != 0 && !HT_IS_PACKED(Z_ARRVAL_P(cookies))) { in make_http_soap_request() 860 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(cookies), key, data) { in make_http_soap_request() 864 if ((value = zend_hash_index_find(Z_ARRVAL_P(data), 0)) != NULL && in make_http_soap_request() 867 if (((tmp = zend_hash_index_find(Z_ARRVAL_P(data), 1)) == NULL || in make_http_soap_request() 870 ((tmp = zend_hash_index_find(Z_ARRVAL_P(data), 2)) == NULL || in make_http_soap_request() 873 (use_ssl || (tmp = zend_hash_index_find(Z_ARRVAL_P(data), 3)) == NULL)) { in make_http_soap_request() [all …]
|
/php-src/main/ |
H A D | php_variables.c | 68 symbol_table = Z_ARRVAL_P(track_vars_array); in php_register_known_variable() 123 symtable1 = Z_ARRVAL_P(track_vars_array); in php_register_variable_ex() 207 ht = Z_ARRVAL_P(track_vars_array); in php_register_variable_ex() 284 symtable1 = Z_ARRVAL_P(gpc_element_p); in php_register_variable_ex() 635 import_environment_variable(Z_ARRVAL_P(array_ptr), *env); in _php_import_environment_variables() 642 import_environment_variable(Z_ARRVAL_P(array_ptr), env); in _php_import_environment_variables() 708 zend_hash_update(Z_ARRVAL_P(track_vars_array), ZSTR_KNOWN(ZEND_STR_ARGV), &arr); in php_build_argv() 709 zend_hash_update(Z_ARRVAL_P(track_vars_array), ZSTR_KNOWN(ZEND_STR_ARGC), &argc); in php_build_argv() 729 ht = Z_ARRVAL_P(arr); in php_register_server_variables() 778 php_autoglobal_merge(Z_ARRVAL_P(dest_entry), Z_ARRVAL_P(src_entry)); in php_autoglobal_merge()
|
H A D | php_ini.c | 169 zend_hash_destroy(Z_ARRVAL_P(zvalue)); in config_zval_dtor() 239 entry = zend_symtable_update(Z_ARRVAL_P(find_arr), Z_STR_P(arg3), arg2); in php_ini_parser_cb() 241 entry = zend_hash_next_index_insert(Z_ARRVAL_P(find_arr), arg2); in php_ini_parser_cb() 304 active_ini_hash = Z_ARRVAL_P(entry); in php_ini_parser_cb() 854 php_ini_activate_config(Z_ARRVAL_P(tmp2), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); 878 php_ini_activate_config(Z_ARRVAL_P(tmp), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
|
/php-src/ext/random/ |
H A D | engine_mt19937.c | 329 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD() 337 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD() 364 object_properties_load(&engine->std, Z_ARRVAL_P(t)); in PHP_METHOD() 376 if (!engine->engine.algo->unserialize(engine->engine.state, Z_ARRVAL_P(t))) { in PHP_METHOD()
|
H A D | randomizer.c | 359 RETVAL_ARR(zend_array_dup(Z_ARRVAL_P(array))); in PHP_METHOD() 413 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD() 521 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD() 548 object_properties_load(&randomizer->std, Z_ARRVAL_P(members_zv)); in PHP_METHOD()
|
/php-src/ext/sysvmsg/ |
H A D | sysvmsg.c | 146 …if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.uid", sizeof("msg_perm.uid") - 1)) != N… in PHP_FUNCTION() 149 …if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.gid", sizeof("msg_perm.gid") - 1)) != N… in PHP_FUNCTION() 152 …if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_perm.mode", sizeof("msg_perm.mode") - 1)) !=… in PHP_FUNCTION() 155 …if ((item = zend_hash_str_find(Z_ARRVAL_P(data), "msg_qbytes", sizeof("msg_qbytes") - 1)) != NULL)… in PHP_FUNCTION()
|
/php-src/ext/ldap/ |
H A D | ldap.c | 532 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(tmp)); in php_ldap_control_from_array() 538 if ((attr = zend_hash_index_find(Z_ARRVAL_P(tmp), i)) == NULL) { in php_ldap_control_from_array() 573 num_keys = zend_hash_num_elements(Z_ARRVAL_P(val)); in php_ldap_control_from_array() 581 if ((sortkey = zend_hash_index_find(Z_ARRVAL_P(val), i)) == NULL) { in php_ldap_control_from_array() 1477 const HashTable *attributes = Z_ARRVAL_P(attrs); in php_ldap_do_search() 1516 uint32_t num_links = zend_hash_num_elements(Z_ARRVAL_P(link)); in php_ldap_do_search() 1522 if (!zend_array_is_list(Z_ARRVAL_P(link))) { in php_ldap_do_search() 1962 zend_hash_index_update(Z_ARRVAL_P(return_value), num_entries, &tmp1); in PHP_FUNCTION() 2305 if (!zend_array_is_list(Z_ARRVAL_P(attribute_values))) { in php_ldap_do_modify() 2611 const HashTable *modification = Z_ARRVAL_P(modification_zv); in PHP_FUNCTION() [all …]
|
/php-src/ext/tokenizer/ |
H A D | tokenizer.c | 166 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(kind), entry) { in PHP_METHOD() 318 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &token); in add_token() 394 id_zv = zend_hash_index_find(Z_ARRVAL_P(token_zv), 0); in extract_token_id_to_replace() 395 text_zv = zend_hash_index_find(Z_ARRVAL_P(token_zv), 1); in extract_token_id_to_replace() 431 HashTable *tokens_ht = Z_ARRVAL_P(ctx->tokens); in on_event()
|
/php-src/ext/gd/ |
H A D | gd.c | 647 num_styles = zend_hash_num_elements(Z_ARRVAL_P(styles)); in PHP_FUNCTION() 656 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(styles), item) { in PHP_FUNCTION() 2842 NPOINTS = zend_hash_num_elements(Z_ARRVAL_P(POINTS)); in php_imagepolygon() 2857 nelem = zend_hash_num_elements(Z_ARRVAL_P(POINTS)); in php_imagepolygon() 3389 if (!HT_IS_PACKED(Z_ARRVAL_P(EXT))) { in php_imagettftext_common() 3390 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(EXT), key, item) { in php_imagettftext_common() 3677 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(hash_colors), color) { in php_image_filter_scatter() 3744 nelem = zend_hash_num_elements(Z_ARRVAL_P(hash_matrix)); in PHP_FUNCTION() 3752 if (zend_hash_num_elements(Z_ARRVAL_P(var)) != 3 ) { in PHP_FUNCTION() 4209 if (zend_hash_num_elements(Z_ARRVAL_P(z_m1)) != 6) { in PHP_FUNCTION() [all …]
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 406 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input_params), num_index, key, tmp) { in PHP_METHOD() 921 …zend_hash_index_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_LVAL(va… in do_fetch() 924 …zend_symtable_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_STR(val),… in do_fetch() 934 if (zend_hash_index_add(Z_ARRVAL_P(return_value), i, &val) != NULL) { in do_fetch() 968 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch() 974 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &val); in do_fetch() 1074 zend_symtable_update(Z_ARRVAL_P(return_all), Z_STR(grp_val), &grp); in do_fetch() 1192 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD() 1285 if (ctor_args && zend_hash_num_elements(Z_ARRVAL_P(ctor_args)) > 0) { in PHP_METHOD() 1376 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &data); in PHP_METHOD() [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_variant.c | 42 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(z), &pos); in safe_array_from_zval() 43 for (;; zend_hash_move_forward_ex(Z_ARRVAL_P(z), &pos)) { in safe_array_from_zval() 45 keytype = zend_hash_get_current_key_ex(Z_ARRVAL_P(z), &strindex, &intindex, &pos); in safe_array_from_zval() 59 bound.cElements = zend_hash_num_elements(Z_ARRVAL_P(z)); in safe_array_from_zval() 67 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(z), &pos); in safe_array_from_zval() 68 for (;; zend_hash_move_forward_ex(Z_ARRVAL_P(z), &pos)) { in safe_array_from_zval() 69 if (NULL == (item = zend_hash_get_current_data_ex(Z_ARRVAL_P(z), &pos))) { in safe_array_from_zval() 72 zend_hash_get_current_key_ex(Z_ARRVAL_P(z), &strindex, &intindex, &pos); in safe_array_from_zval()
|
/php-src/ext/sockets/ |
H A D | conversions.c | 228 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_array_iterate() 260 if ((elem = zend_hash_str_find(Z_ARRVAL_P(container), in from_zval_write_aggregation() 287 assert(Z_ARRVAL_P(zarr) != NULL); in to_zval_read_aggregation() 299 new_zv = zend_symtable_str_update(Z_ARRVAL_P(zarr), descr->name, descr->name_size - 1, &tmp); in to_zval_read_aggregation() 895 if ((data_elem = zend_hash_str_find(Z_ARRVAL_P(arr), "data", sizeof("data") - 1)) == NULL) { in from_zval_write_control() 945 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_control_array() 956 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(arr), elem) { in from_zval_write_control_array() 1034 elem = zend_hash_next_index_insert(Z_ARRVAL_P(zv), &tmp); in to_zval_read_control_array() 1112 num_elem = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_iov_array() 1369 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in calculate_scm_rights_space() [all …]
|