Home
last modified time | relevance | path

Searched refs:string_key (Results 1 – 18 of 18) sorted by relevance

/PHP-8.3/ext/opcache/tests/opt/
H A Dgh10008.phpt16 $string_key = "a";
17 $array = ["bool_or_int" => $bool_or_int, $string_key => 123];
/PHP-8.3/Zend/
H A Dzend_enum.c243 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 Dzend_enum.h47 …object **result, zend_class_entry *ce, zend_long long_key, zend_string *string_key, bool try_from);
H A Dzend.c373 zend_string *string_key; in print_hash() local
382 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_hash()
387 if (string_key) { in print_hash()
391 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash()
404 smart_str_append(buf, string_key); in print_hash()
424 zend_string *string_key; in print_flat_hash() local
428 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_flat_hash()
433 if (string_key) { in print_flat_hash()
434 smart_str_append(buf, string_key); in print_flat_hash()
H A Dzend_weakrefs.c622 zend_string *string_key; in zend_weakmap_iterator_get_current_key() local
624 int key_type = zend_hash_get_current_key_ex(&wm->ht, &string_key, &num_key, pos); in zend_weakmap_iterator_get_current_key()
/PHP-8.3/ext/curl/
H A Dinterface.c1360 zend_string_release_ex(string_key, 0); in add_simple_field()
1372 CURLFORM_COPYNAME, ZSTR_VAL(string_key), in add_simple_field()
1394 zend_string *string_key; in build_mime_structure_from_hash() local
1418 if (!string_key) { in build_mime_structure_from_hash()
1421 zend_string_addref(string_key); in build_mime_structure_from_hash()
1503 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
1575 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
1590 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
1600 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
2491 zend_string *string_key; in PHP_FUNCTION() local
[all …]
/PHP-8.3/ext/xsl/
H A Dxsltprocessor.c60 zend_string *string_key; in php_xsl_xslt_make_params() local
68 ZEND_HASH_MAP_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()
685 zend_string *string_key, *name, *value = NULL; in PHP_METHOD() local
702 ZEND_HASH_FOREACH_STR_KEY_VAL(array_value, string_key, entry) { in PHP_METHOD()
706 if (string_key == NULL) { in PHP_METHOD()
715 zend_hash_update(intern->parameter, string_key, &tmp); in PHP_METHOD()
/PHP-8.3/ext/mysqlnd/
H A Dphp_mysqlnd.c35 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 Dmysqlnd_debug.c429 zend_string *string_key = NULL; in MYSQLND_METHOD() local
433 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&self->function_profiles, string_key, f_profile) { in MYSQLND_METHOD()
448 ,ZSTR_VAL(string_key) in MYSQLND_METHOD()
/PHP-8.3/main/
H A Dphp_variables.c761 zend_string *string_key; in php_autoglobal_merge() local
765 ZEND_HASH_FOREACH_KEY_VAL(src, num_key, string_key, src_entry) { in php_autoglobal_merge()
767 || (string_key && (dest_entry = zend_hash_find(dest, string_key)) == NULL) in php_autoglobal_merge()
768 || (string_key == NULL && (dest_entry = zend_hash_index_find(dest, num_key)) == NULL) in php_autoglobal_merge()
771 if (string_key) { in php_autoglobal_merge()
772 if (!globals_check || !zend_string_equals_literal(string_key, "GLOBALS")) { in php_autoglobal_merge()
773 zend_hash_update(dest, string_key, src_entry); in php_autoglobal_merge()
/PHP-8.3/ext/standard/
H A Darray.c3880 if (string_key) {
3902 if (string_key) {
3997 if (string_key) {
4018 if (string_key) {
4174 if (!string_key) {
4601 if (string_key) {
4760 if (!string_key) {
6107 if (string_key) {
6199 if (string_key) {
6416 if (!string_key) {
[all …]
H A Dinfo.c170 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 Dvar_unserializer.re602 string_key:
676 goto string_key;
H A Dstring.c4217 zend_string *string_key; local
4241 ZEND_HASH_FOREACH_KEY_VAL(subject_ht, num_key, string_key, subject_entry) {
4249 if (string_key) {
4250 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &result);
/PHP-8.3/ext/pcre/
H A Dphp_pcre.c2221 zend_string *string_key; in preg_replace_func_impl() local
2239 if (string_key) { in preg_replace_func_impl()
2240 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &zv); in preg_replace_func_impl()
2301 zend_string *string_key; in preg_replace_common() local
2321 if (string_key) { in preg_replace_common()
2322 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &zv); in preg_replace_common()
2870 zend_string *string_key; in php_pcre_grep_impl() local
2922 if (string_key) { in php_pcre_grep_impl()
2923 zend_hash_update(Z_ARRVAL_P(return_value), string_key, entry); in php_pcre_grep_impl()
2933 if (string_key) { in php_pcre_grep_impl()
[all …]
/PHP-8.3/ext/dom/
H A Dphp_dom.c407 zend_string *string_key; in dom_get_debug_info_helper() local
422 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(prop_handlers, string_key, entry) { in dom_get_debug_info_helper()
425 ZEND_ASSERT(string_key != NULL); in dom_get_debug_info_helper()
437 zend_hash_update(debug_info, string_key, &value); in dom_get_debug_info_helper()
/PHP-8.3/ext/spl/
H A Dspl_array.c912 zend_string *string_key; in spl_array_skip_protected() local
920 if (zend_hash_get_current_key_ex(aht, &string_key, &num_key, pos_ptr) == HASH_KEY_IS_STRING) { in spl_array_skip_protected()
925 } else if (!ZSTR_LEN(string_key) || ZSTR_VAL(string_key)[0]) { in spl_array_skip_protected()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c6484 zend_string *string_key = NULL; in ZEND_METHOD() local
6490 Z_PARAM_STR_OR_LONG(string_key, int_key) in ZEND_METHOD()
6493 if (string_key) { in ZEND_METHOD()
6494 item = zend_hash_find(ht, string_key); in ZEND_METHOD()

Completed in 173 milliseconds