/PHP-8.1/ext/opcache/tests/opt/ |
H A D | gh10008.phpt | 16 $string_key = "a"; 17 $array = ["bool_or_int" => $bool_or_int, $string_key => 123];
|
/PHP-8.1/Zend/ |
H A D | zend_enum.c | 214 zend_string *string_key; in zend_enum_from_base() local 229 Z_PARAM_STR(string_key) in zend_enum_from_base() 237 Z_PARAM_STR_OR_LONG(string_key, long_key) in zend_enum_from_base() 240 if (string_key == NULL) { in zend_enum_from_base() 242 string_key = zend_long_to_str(long_key); in zend_enum_from_base() 246 case_name_zv = zend_hash_find(ce->backed_enum_table, string_key); in zend_enum_from_base() 258 …zend_value_error("\"%s\" is not a valid backing value for enum \"%s\"", ZSTR_VAL(string_key), ZSTR… in zend_enum_from_base() 276 zend_string_release(string_key); in zend_enum_from_base() 282 zend_string_release(string_key); in zend_enum_from_base() 288 zend_string_release(string_key); in zend_enum_from_base()
|
H A D | zend.c | 315 zend_string *string_key; in print_hash() local 324 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_hash() 329 if (string_key) { in print_hash() 333 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash() 346 smart_str_append(buf, string_key); in print_hash() 366 zend_string *string_key; in print_flat_hash() local 370 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_flat_hash() 375 if (string_key) { in print_flat_hash() 376 smart_str_append(buf, string_key); in print_flat_hash()
|
H A D | zend_weakrefs.c | 507 zend_string *string_key; in zend_weakmap_iterator_get_current_key() local 509 int key_type = zend_hash_get_current_key_ex(&wm->ht, &string_key, &num_key, pos); in zend_weakmap_iterator_get_current_key()
|
H A D | zend_compile.c | 7974 zend_string *string_key = Z_STR(case_value_zv); in zend_compile_enum_case() local 7975 zval *existing_case_name = zend_hash_find(enum_class->backed_enum_table, string_key); in zend_compile_enum_case() 7982 zend_hash_add_new(enum_class->backed_enum_table, string_key, &case_name_zval); in zend_compile_enum_case()
|
/PHP-8.1/ext/xsl/ |
H A D | xsltprocessor.c | 60 zend_string *string_key; in php_xsl_xslt_make_params() local 68 ZEND_HASH_FOREACH_STR_KEY_VAL(parht, string_key, value) { in php_xsl_xslt_make_params() 69 ZEND_ASSERT(string_key != NULL); in php_xsl_xslt_make_params() 83 params[i++] = estrndup(ZSTR_VAL(string_key), ZSTR_LEN(string_key)); in php_xsl_xslt_make_params() 678 zend_string *string_key, *name, *value = NULL; in PHP_METHOD() local 695 ZEND_HASH_FOREACH_STR_KEY_VAL(array_value, string_key, entry) { in PHP_METHOD() 699 if (string_key == NULL) { in PHP_METHOD() 708 zend_hash_update(intern->parameter, string_key, &tmp); in PHP_METHOD()
|
/PHP-8.1/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 35 zend_string *string_key; in mysqlnd_minfo_print_hash() local 37 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(values), string_key, values_entry) { in mysqlnd_minfo_print_hash() 39 php_info_print_table_row(2, ZSTR_VAL(string_key), Z_STRVAL_P(values_entry)); in mysqlnd_minfo_print_hash()
|
H A D | mysqlnd_debug.c | 429 zend_string *string_key = NULL; in MYSQLND_METHOD() local 433 ZEND_HASH_FOREACH_STR_KEY_PTR(&self->function_profiles, string_key, f_profile) { in MYSQLND_METHOD() 448 ,ZSTR_VAL(string_key) in MYSQLND_METHOD()
|
/PHP-8.1/main/ |
H A D | php_variables.c | 721 zend_string *string_key; in php_autoglobal_merge() local 725 ZEND_HASH_FOREACH_KEY_VAL(src, num_key, string_key, src_entry) { in php_autoglobal_merge() 727 || (string_key && (dest_entry = zend_hash_find(dest, string_key)) == NULL) in php_autoglobal_merge() 728 || (string_key == NULL && (dest_entry = zend_hash_index_find(dest, num_key)) == NULL) in php_autoglobal_merge() 731 if (string_key) { in php_autoglobal_merge() 732 if (!globals_check || ZSTR_LEN(string_key) != sizeof("GLOBALS") - 1 in php_autoglobal_merge() 733 || memcmp(ZSTR_VAL(string_key), "GLOBALS", sizeof("GLOBALS") - 1)) { in php_autoglobal_merge() 734 zend_hash_update(dest, string_key, src_entry); in php_autoglobal_merge()
|
/PHP-8.1/ext/standard/ |
H A D | array.c | 3531 if (string_key) { 3553 if (string_key) { 3647 if (string_key) { 3668 if (string_key) { 3813 if (!string_key) { 4238 if (string_key) { 4396 if (!string_key) { 5677 if (string_key) { 5736 if (string_key) { 5916 if (!string_key) { [all …]
|
H A D | info.c | 168 zend_string *string_key; in php_print_gpcse_array() local 176 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(data), num_key, string_key, tmp) { in php_print_gpcse_array() 186 if (string_key != NULL) { in php_print_gpcse_array() 188 php_info_print_html_esc(ZSTR_VAL(string_key), ZSTR_LEN(string_key)); in php_print_gpcse_array() 190 php_info_print(ZSTR_VAL(string_key)); in php_print_gpcse_array()
|
H A D | var_unserializer.re | 602 string_key: 662 goto string_key;
|
H A D | string.c | 4287 zend_string *string_key; local 4313 ZEND_HASH_FOREACH_KEY_VAL(subject_ht, num_key, string_key, subject_entry) { 4321 if (string_key) { 4322 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &result);
|
/PHP-8.1/ext/curl/ |
H A D | interface.c | 2005 zend_string *string_key; in build_mime_structure_from_hash() local 2029 if (!string_key) { in build_mime_structure_from_hash() 2030 string_key = zend_long_to_str(num_key); in build_mime_structure_from_hash() 2032 zend_string_addref(string_key); in build_mime_structure_from_hash() 2114 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 2125 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 2186 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 2196 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 2220 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 3015 zend_string *string_key; in PHP_FUNCTION() local [all …]
|
/PHP-8.1/ext/pcre/ |
H A D | php_pcre.c | 2249 zend_string *string_key; in preg_replace_func_impl() local 2267 if (string_key) { in preg_replace_func_impl() 2268 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &zv); in preg_replace_func_impl() 2329 zend_string *string_key; in preg_replace_common() local 2349 if (string_key) { in preg_replace_common() 2350 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &zv); in preg_replace_common() 2900 zend_string *string_key; in php_pcre_grep_impl() local 2952 if (string_key) { in php_pcre_grep_impl() 2953 zend_hash_update(Z_ARRVAL_P(return_value), string_key, entry); in php_pcre_grep_impl() 2963 if (string_key) { in php_pcre_grep_impl() [all …]
|
/PHP-8.1/ext/dom/ |
H A D | php_dom.c | 400 zend_string *string_key; in dom_get_debug_info_helper() local 415 ZEND_HASH_FOREACH_STR_KEY_PTR(prop_handlers, string_key, entry) { in dom_get_debug_info_helper() 418 if (entry->read_func(obj, &value) == FAILURE || !string_key) { in dom_get_debug_info_helper() 428 zend_hash_update(debug_info, string_key, &value); in dom_get_debug_info_helper()
|
/PHP-8.1/ext/spl/ |
H A D | spl_array.c | 947 zend_string *string_key; in spl_array_skip_protected() local 955 if (zend_hash_get_current_key_ex(aht, &string_key, &num_key, pos_ptr) == HASH_KEY_IS_STRING) { in spl_array_skip_protected() 960 } else if (!ZSTR_LEN(string_key) || ZSTR_VAL(string_key)[0]) { in spl_array_skip_protected()
|
/PHP-8.1/ext/reflection/ |
H A D | php_reflection.c | 6362 zend_string *string_key = NULL; in ZEND_METHOD() local 6368 Z_PARAM_STR_OR_LONG(string_key, int_key) in ZEND_METHOD() 6371 if (string_key) { in ZEND_METHOD() 6372 item = zend_hash_find(ht, string_key); in ZEND_METHOD()
|