/php-src/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-src/Zend/ |
H A D | zend_enum.c | 243 zend_string *string_key = Z_STR_P(case_value); in zend_enum_build_backed_enum_table() local 253 zend_hash_add_new(backed_enum_table, string_key, case_name); in zend_enum_build_backed_enum_table() 307 ZEND_ASSERT(string_key != NULL); in zend_enum_get_case_by_value() 347 zend_string *string_key = NULL; in zend_enum_from_base() local 359 Z_PARAM_STR(string_key) in zend_enum_from_base() 367 Z_PARAM_STR_OR_LONG(string_key, long_key) in zend_enum_from_base() 370 if (string_key == NULL) { in zend_enum_from_base() 372 string_key = zend_long_to_str(long_key); in zend_enum_from_base() 388 zend_string_release(string_key); in zend_enum_from_base() 394 zend_string_release(string_key); in zend_enum_from_base() [all …]
|
H A D | zend_enum.h | 47 …object **result, zend_class_entry *ce, zend_long long_key, zend_string *string_key, bool try_from);
|
H A D | zend.c | 381 zend_string *string_key; in print_hash() local 390 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_hash() 395 if (string_key) { in print_hash() 399 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash() 412 smart_str_append(buf, string_key); in print_hash() 432 zend_string *string_key; in print_flat_hash() local 436 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_flat_hash() 441 if (string_key) { in print_flat_hash() 442 smart_str_append(buf, string_key); in print_flat_hash()
|
H A D | zend_weakrefs.c | 642 zend_string *string_key; in zend_weakmap_iterator_get_current_key() local 644 int key_type = zend_hash_get_current_key_ex(&wm->ht, &string_key, &num_key, pos); in zend_weakmap_iterator_get_current_key()
|
/php-src/ext/xsl/ |
H A D | xsltprocessor.c | 31 zend_string *string_key; in php_xsl_xslt_apply_params() local 34 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(params, string_key, value) { in php_xsl_xslt_apply_params() 35 ZEND_ASSERT(string_key != NULL); in php_xsl_xslt_apply_params() 39 …int result = xsltQuoteOneUserParam(ctxt, (const xmlChar *) ZSTR_VAL(string_key), (const xmlChar *)… in php_xsl_xslt_apply_params() 41 php_error_docref(NULL, E_WARNING, "Could not apply parameter \"%s\"", ZSTR_VAL(string_key)); in php_xsl_xslt_apply_params() 562 zend_string *string_key, *name, *value = NULL; in PHP_METHOD() local 579 ZEND_HASH_FOREACH_STR_KEY_VAL(array_value, string_key, entry) { in PHP_METHOD() 583 if (string_key == NULL) { in PHP_METHOD() 588 if (UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(string_key), ZSTR_LEN(string_key)))) { in PHP_METHOD() 605 zend_hash_update(intern->parameter, string_key, &tmp); in PHP_METHOD()
|
/php-src/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 35 zend_string *string_key; in mysqlnd_minfo_print_hash() local 37 ZEND_HASH_MAP_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 | 409 zend_string *string_key = NULL; in MYSQLND_METHOD() local 413 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&self->function_profiles, string_key, f_profile) { in MYSQLND_METHOD() 428 ,ZSTR_VAL(string_key) in MYSQLND_METHOD()
|
/php-src/main/ |
H A D | php_variables.c | 757 zend_string *string_key; in php_autoglobal_merge() local 761 ZEND_HASH_FOREACH_KEY_VAL(src, num_key, string_key, src_entry) { in php_autoglobal_merge() 763 || (string_key && (dest_entry = zend_hash_find(dest, string_key)) == NULL) in php_autoglobal_merge() 764 || (string_key == NULL && (dest_entry = zend_hash_index_find(dest, num_key)) == NULL) in php_autoglobal_merge() 767 if (string_key) { in php_autoglobal_merge() 768 if (!globals_check || !zend_string_equals_literal(string_key, "GLOBALS")) { in php_autoglobal_merge() 769 zend_hash_update(dest, string_key, src_entry); in php_autoglobal_merge()
|
/php-src/ext/curl/ |
H A D | interface.c | 1347 zend_string_release_ex(string_key, 0); in add_simple_field() 1365 zend_string *string_key; in build_mime_structure_from_hash() local 1381 if (!string_key) { in build_mime_structure_from_hash() 1382 string_key = zend_long_to_str(num_key); in build_mime_structure_from_hash() 1384 zend_string_addref(string_key); in build_mime_structure_from_hash() 1450 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 1504 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 1515 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 1521 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash() 2320 zend_string *string_key; in PHP_FUNCTION() local [all …]
|
/php-src/ext/standard/ |
H A D | array.c | 4001 if (string_key) { 4023 if (string_key) { 4117 if (string_key) { 4138 if (string_key) { 4294 if (!string_key) { 4721 if (string_key) { 4880 if (!string_key) { 6230 if (string_key) { 6322 if (string_key) { 6538 if (!string_key) { [all …]
|
H A D | info.c | 170 zend_string *string_key; in php_print_gpcse_array() local 178 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(data), num_key, string_key, tmp) { in php_print_gpcse_array() 188 if (string_key != NULL) { in php_print_gpcse_array() 190 php_info_print_html_esc(ZSTR_VAL(string_key), ZSTR_LEN(string_key)); in php_print_gpcse_array() 192 php_info_print(ZSTR_VAL(string_key)); in php_print_gpcse_array()
|
H A D | var_unserializer.re | 601 string_key: 675 goto string_key;
|
H A D | string.c | 4509 zend_string *string_key; local 4525 ZEND_HASH_FOREACH_KEY_VAL(subject_ht, num_key, string_key, subject_entry) { 4533 if (string_key) { 4534 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &result);
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 2234 zend_string *string_key; in preg_replace_func_impl() local 2253 if (string_key) { in preg_replace_func_impl() 2254 zend_hash_add_new(return_value_ht, string_key, &zv); in preg_replace_func_impl() 2303 zend_string *string_key; in _preg_replace_common() local 2324 if (string_key) { in _preg_replace_common() 2325 zend_hash_add_new(return_value_ht, string_key, &zv); in _preg_replace_common() 2923 zend_string *string_key; in php_pcre_grep_impl() local 2976 if (string_key) { in php_pcre_grep_impl() 2977 zend_hash_update(return_value_ht, string_key, entry); in php_pcre_grep_impl() 2987 if (string_key) { in php_pcre_grep_impl() [all …]
|
/php-src/ext/xmlreader/ |
H A D | php_xmlreader.c | 186 zend_string *string_key; in xmlreader_get_debug_info() local 188 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&xmlreader_prop_handlers, string_key, entry) { in xmlreader_get_debug_info() 189 ZEND_ASSERT(string_key != NULL); in xmlreader_get_debug_info() 193 zend_hash_update(debug_info, string_key, &value); in xmlreader_get_debug_info()
|
/php-src/ext/spl/ |
H A D | spl_array.c | 902 zend_string *string_key; in spl_array_skip_protected() local 910 if (zend_hash_get_current_key_ex(aht, &string_key, &num_key, pos_ptr) == HASH_KEY_IS_STRING) { in spl_array_skip_protected() 915 } else if (!ZSTR_LEN(string_key) || ZSTR_VAL(string_key)[0]) { in spl_array_skip_protected()
|
/php-src/ext/dom/ |
H A D | php_dom.c | 487 zend_string *string_key; in dom_get_debug_info_helper() local 504 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(prop_handlers, string_key, entry) { in dom_get_debug_info_helper() 507 ZEND_ASSERT(string_key != NULL); in dom_get_debug_info_helper() 519 zend_hash_update(debug_info, string_key, &value); in dom_get_debug_info_helper()
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 7059 zend_string *string_key = NULL; in ZEND_METHOD() local 7065 Z_PARAM_STR_OR_LONG(string_key, int_key) in ZEND_METHOD() 7068 if (string_key) { in ZEND_METHOD() 7069 item = zend_hash_find(ht, string_key); in ZEND_METHOD()
|