Home
last modified time | relevance | path

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

/php-src/ext/opcache/tests/opt/
H A Dgh10008.phpt16 $string_key = "a";
17 $array = ["bool_or_int" => $bool_or_int, $string_key => 123];
/php-src/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.c382 zend_string *string_key; in print_hash() local
391 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_hash()
396 if (string_key) { in print_hash()
400 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash()
413 smart_str_append(buf, string_key); in print_hash()
433 zend_string *string_key; in print_flat_hash() local
437 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) { in print_flat_hash()
442 if (string_key) { in print_flat_hash()
443 smart_str_append(buf, string_key); in print_flat_hash()
H A Dzend_weakrefs.c649 zend_string *string_key; in zend_weakmap_iterator_get_current_key() local
651 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 Dxsltprocessor.c31 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()
586 zend_string *namespace, *string_key, *name, *value = NULL; in PHP_METHOD() local
603 ZEND_HASH_FOREACH_STR_KEY_VAL(array_value, string_key, entry) { in PHP_METHOD()
607 if (string_key == NULL) { in PHP_METHOD()
612 if (UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(string_key), ZSTR_LEN(string_key)))) { in PHP_METHOD()
617 zend_string *ht_key = xsl_create_parameter_key(2, namespace, string_key); in PHP_METHOD()
/php-src/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.c409 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 Dphp_variables.c757 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/standard/
H A Darray.c4005 if (string_key) {
4027 if (string_key) {
4122 if (string_key) {
4143 if (string_key) {
4299 if (!string_key) {
4726 if (string_key) {
4885 if (!string_key) {
6235 if (string_key) {
6327 if (string_key) {
6543 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.re601 string_key:
675 goto string_key;
H A Dstring.c4465 zend_string *string_key; local
4481 ZEND_HASH_FOREACH_KEY_VAL(subject_ht, num_key, string_key, subject_entry) {
4489 if (string_key) {
4490 zend_hash_add_new(Z_ARRVAL_P(return_value), string_key, &result);
/php-src/ext/curl/
H A Dinterface.c1379 zend_string_release_ex(string_key, 0); in add_simple_field()
1397 zend_string *string_key; in build_mime_structure_from_hash() local
1413 if (!string_key) { in build_mime_structure_from_hash()
1414 string_key = zend_long_to_str(num_key); in build_mime_structure_from_hash()
1416 zend_string_addref(string_key); in build_mime_structure_from_hash()
1485 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
1535 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
1546 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
1552 zend_string_release_ex(string_key, 0); in build_mime_structure_from_hash()
2372 zend_string *string_key; in PHP_FUNCTION() local
[all …]
/php-src/ext/pcre/
H A Dphp_pcre.c2228 zend_string *string_key; in preg_replace_func_impl() local
2247 if (string_key) { in preg_replace_func_impl()
2248 zend_hash_add_new(return_value_ht, string_key, &zv); in preg_replace_func_impl()
2297 zend_string *string_key; in _preg_replace_common() local
2318 if (string_key) { in _preg_replace_common()
2319 zend_hash_add_new(return_value_ht, string_key, &zv); in _preg_replace_common()
2917 zend_string *string_key; in php_pcre_grep_impl() local
2970 if (string_key) { in php_pcre_grep_impl()
2971 zend_hash_update(return_value_ht, string_key, entry); in php_pcre_grep_impl()
2981 if (string_key) { in php_pcre_grep_impl()
[all …]
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c247 zend_string *string_key; in xmlreader_get_debug_info() local
249 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(&xmlreader_prop_handlers, string_key, entry) { in xmlreader_get_debug_info()
250 ZEND_ASSERT(string_key != NULL); in xmlreader_get_debug_info()
254 zend_hash_update(debug_info, string_key, &value); in xmlreader_get_debug_info()
/php-src/ext/spl/
H A Dspl_array.c904 zend_string *string_key; in spl_array_skip_protected() local
912 if (zend_hash_get_current_key_ex(aht, &string_key, &num_key, pos_ptr) == HASH_KEY_IS_STRING) { in spl_array_skip_protected()
917 } else if (!ZSTR_LEN(string_key) || ZSTR_VAL(string_key)[0]) { in spl_array_skip_protected()
/php-src/ext/dom/
H A Dphp_dom.c491 zend_string *string_key; in dom_get_debug_info_helper() local
508 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(prop_handlers, string_key, entry) { in dom_get_debug_info_helper()
511 ZEND_ASSERT(string_key != NULL); in dom_get_debug_info_helper()
523 zend_hash_update(debug_info, string_key, &value); in dom_get_debug_info_helper()
/php-src/ext/reflection/
H A Dphp_reflection.c6907 zend_string *string_key = NULL; in ZEND_METHOD() local
6913 Z_PARAM_STR_OR_LONG(string_key, int_key) in ZEND_METHOD()
6916 if (string_key) { in ZEND_METHOD()
6917 item = zend_hash_find(ht, string_key); in ZEND_METHOD()

Completed in 110 milliseconds