/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_webdata_transfer.c | 34 ht = Z_ARRVAL(array); in phpdbg_webdata_compress() 44 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table), NULL); in phpdbg_webdata_compress() 45 Z_ARRVAL(zv[1])->pDestructor = NULL; /* we're operating on a copy! Don't double free zvals */ in phpdbg_webdata_compress() 46 …zend_hash_str_del(Z_ARRVAL(zv[1]), ZEND_STRL("GLOBALS")); /* do not use the reference to itself in… in phpdbg_webdata_compress() 86 zend_hash_next_index_insert(Z_ARRVAL(zv[7]), value); in phpdbg_webdata_compress() 95 zend_hash_next_index_insert(Z_ARRVAL(zv[8]), value); in phpdbg_webdata_compress() 138 zend_hash_add(Z_ARRVAL(zv[3]), ini_entry->name, value); in phpdbg_webdata_compress() 155 zend_hash_add(Z_ARRVAL(zv[4]), ini_entry->name, value); in phpdbg_webdata_compress()
|
H A D | phpdbg_frame.c | 292 zend_hash_internal_pointer_reset_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace() 293 tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace() 294 while ((tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position))) { in phpdbg_dump_backtrace() 310 zend_hash_move_forward_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace()
|
H A D | phpdbg_rinit_hook.c | 49 …if (Z_TYPE(cookies) == IS_ARRAY || (auth = zend_hash_str_find(Z_ARRVAL(cookies), PHPDBG_NAME "_AUT… in PHP_RINIT_FUNCTION()
|
H A D | phpdbg_wait.c | 133 ht = Z_ARRVAL(zv); in phpdbg_webdata_decompress()
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli_warning.c | 139 zend_hash_internal_pointer_reset(Z_ARRVAL(row)); in php_get_warnings() 141 zend_hash_move_forward(Z_ARRVAL(row)); in php_get_warnings() 144 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in php_get_warnings() 146 zend_hash_move_forward(Z_ARRVAL(row)); in php_get_warnings() 149 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in php_get_warnings()
|
H A D | mysqli_nonapi.c | 782 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(dest_array), elem); 814 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(proxy), elem);
|
/PHP-8.0/main/ |
H A D | php_variables.c | 270 symtable1 == Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex() 625 if (zend_hash_next_index_insert(Z_ARRVAL(arr), &tmp) == NULL) { in php_build_argv() 635 if (zend_hash_next_index_insert(Z_ARRVAL(arr), &tmp) == NULL) { in php_build_argv() 837 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGV), argv); in php_auto_globals_create_server() 838 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGC), argc); in php_auto_globals_create_server() 850 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server() 857 HT_ALLOW_COW_VIOLATION(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server() 871 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])); in php_auto_globals_create_env() 897 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_GET])); in php_auto_globals_create_request() 904 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_POST])); in php_auto_globals_create_request() [all …]
|
H A D | php_ini.c | 233 zend_hash_init(Z_ARRVAL(option_arr), 8, NULL, config_zval_dtor, 1); in php_ini_parser_cb() 300 zend_hash_init(Z_ARRVAL(section_arr), 8, NULL, (dtor_func_t) config_zval_dtor, 1); in php_ini_parser_cb()
|
/PHP-8.0/ext/standard/ |
H A D | array.c | 3824 if (zend_hash_num_elements(Z_ARRVAL(args[0])) == 0) { 4769 hash = Z_ARRVAL(args[i]); 4793 RETVAL_ARR(zend_array_dup(Z_ARRVAL(args[0]))); 4896 hash = Z_ARRVAL(args[i]); 5143 hash = Z_ARRVAL(args[i]); 5167 RETVAL_ARR(zend_array_dup(Z_ARRVAL(args[0]))); 5268 hash = Z_ARRVAL(args[i]); 5314 num = zend_hash_num_elements(Z_ARRVAL(args[0])); 5379 num += zend_hash_num_elements(Z_ARRVAL(args[i])); 6072 if (pos >= Z_ARRVAL(arrays[i])->nNumUsed) { [all …]
|
H A D | var.c | 1011 smart_str_append_unsigned(buf, zend_array_count(Z_ARRVAL(retval))); in php_var_serialize_intern() 1013 ZEND_HASH_FOREACH_KEY_VAL_IND(Z_ARRVAL(retval), index, key, data) { in php_var_serialize_intern()
|
/PHP-8.0/Zend/ |
H A D | zend_builtin_functions.c | 1555 zend_hash_add_new(Z_ARRVAL(modules[module_number]), val->name, &const_val); in ZEND_FUNCTION() 1943 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in zend_fetch_debug_backtrace() 1945 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in zend_fetch_debug_backtrace() 1963 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in zend_fetch_debug_backtrace() 1965 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in zend_fetch_debug_backtrace() 1997 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_CLASS), &tmp); in zend_fetch_debug_backtrace() 2004 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_TYPE), &tmp); in zend_fetch_debug_backtrace() 2007 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_CLASS), &tmp); in zend_fetch_debug_backtrace() 2009 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_TYPE), &tmp); in zend_fetch_debug_backtrace() 2016 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_ARGS), &tmp); in zend_fetch_debug_backtrace() [all …]
|
H A D | zend_closures.c | 574 zend_hash_add_new(Z_ARRVAL(val), key, ©); in zend_closure_get_debug_info() 577 if (zend_hash_num_elements(Z_ARRVAL(val))) { in zend_closure_get_debug_info() 619 zend_hash_update(Z_ARRVAL(val), name, &info); in zend_closure_get_debug_info()
|
/PHP-8.0/ext/xml/ |
H A D | xml.c | 600 if ((element = zend_hash_str_find(Z_ARRVAL(parser->info), name, strlen(name))) == NULL) { in _xml_add_to_info() 603 element = zend_hash_str_update(Z_ARRVAL(parser->info), name, strlen(name), &values); in _xml_add_to_info() 652 zend_symtable_update(Z_ARRVAL(args[2]), att, &tmp); in _xml_startElementHandler() 689 zend_symtable_update(Z_ARRVAL(atr), att, &tmp); in _xml_startElementHandler() 698 zend_hash_str_add(Z_ARRVAL(tag), "attributes", sizeof("attributes") - 1, &atr); in _xml_startElementHandler() 703 parser->ctag = zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_startElementHandler() 746 zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_endElementHandler() 823 ZEND_HASH_REVERSE_FOREACH_VAL(Z_ARRVAL(parser->data), curtag) { in _xml_characterDataHandler() 849 zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_characterDataHandler()
|
/PHP-8.0/ext/readline/ |
H A D | readline.c | 407 HashTable *myht = Z_ARRVAL(_readline_array); in _readline_command_generator() 452 if (zend_hash_num_elements(Z_ARRVAL(_readline_array))) { in php_readline_completion_cb()
|
/PHP-8.0/ext/intl/calendar/ |
H A D | calendar_class.cpp | 183 zend_hash_copy(Z_ARRVAL(ztz_debug), debug_info_tz, zval_add_ref); in Calendar_get_debug_info()
|
/PHP-8.0/ext/spl/ |
H A D | spl_iterators.c | 1871 count = zend_hash_num_elements(Z_ARRVAL(intern->current.data)); in PHP_METHOD() 2064 RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL(intern->current.data)) > 0); in PHP_METHOD() 2341 array_set_zval_key(Z_ARRVAL(intern->u.caching.zcache), key, data); in spl_caching_it_next() 2405 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in spl_caching_it_rewind() 2522 zend_symtable_update(Z_ARRVAL(intern->u.caching.zcache), key, value); in PHP_METHOD() 2544 if ((value = zend_symtable_find(Z_ARRVAL(intern->u.caching.zcache), key)) == NULL) { in PHP_METHOD() 2570 zend_symtable_del(Z_ARRVAL(intern->u.caching.zcache), key); in PHP_METHOD() 2591 RETURN_BOOL(zend_symtable_exists(Z_ARRVAL(intern->u.caching.zcache), key)); in PHP_METHOD() 2658 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in PHP_METHOD() 2680 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL(intern->u.caching.zcache))); in PHP_METHOD()
|
H A D | spl_observer.c | 266 zend_hash_update(Z_ARRVAL(storage), md5str, &tmp); in spl_object_storage_debug_info() 820 zend_hash_next_index_insert(Z_ARRVAL(tmp), &elem->obj); in PHP_METHOD() 822 zend_hash_next_index_insert(Z_ARRVAL(tmp), &elem->inf); in PHP_METHOD()
|
H A D | spl_directory.c | 1993 && zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 1) { in spl_filesystem_file_is_empty_line() 1997 while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { in spl_filesystem_file_is_empty_line() 2000 first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; in spl_filesystem_file_is_empty_line() 2003 return zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 0; in spl_filesystem_file_is_empty_line()
|
/PHP-8.0/ext/session/ |
H A D | php_session.h | 280 zend_hash_del(Z_ARRVAL(PS(http_session_vars)), name); \
|
H A D | session.c | 1578 …(data = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("R… in php_session_start() 1593 …(data = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("… in php_session_start() 2923 …if ((ppid = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[where]), PS(session_name), progress->snam… in early_find_sid_in() 3097 …progress->post_bytes_processed = zend_hash_str_find(Z_ARRVAL(progress->data), "bytes_processed", s… in php_session_rfc1867_callback() 3123 …progress->current_file_bytes_processed = zend_hash_str_find(Z_ARRVAL(progress->current_file), "byt… in php_session_rfc1867_callback()
|
/PHP-8.0/ext/pdo/ |
H A D | pdo_stmt.c | 1042 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &cur); in do_fetch() 1046 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val); in do_fetch() 1158 zend_hash_next_index_insert(Z_ARRVAL(grp), return_value); in do_fetch() 1884 if (Z_TYPE(args[1]) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL(args[1]))) { in pdo_stmt_setup_fetch_mode() 1885 constructor_args = Z_ARRVAL(args[1]); in pdo_stmt_setup_fetch_mode()
|
H A D | pdo_dbh.c | 158 if ((item = zend_hash_index_find(Z_ARRVAL(info), 1)) != NULL in pdo_handle_error() 163 if ((item = zend_hash_index_find(Z_ARRVAL(info), 2)) != NULL) { in pdo_handle_error()
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapi_main.c | 224 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])) > 0 in litespeed_php_import_environment_variables() 231 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
|
/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 1855 zend_hash_internal_pointer_reset(Z_ARRVAL(row)); in MYSQLND_METHOD() 1857 zend_hash_move_forward(Z_ARRVAL(row)); in MYSQLND_METHOD() 1860 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in MYSQLND_METHOD()
|
/PHP-8.0/main/streams/ |
H A D | streams.c | 2266 …if (NULL == (wrapperhash = zend_hash_str_find(Z_ARRVAL(context->options), wrappername, strlen(wrap… 2279 wrapperhash = zend_hash_str_find(Z_ARRVAL(context->options), wrappername, strlen(wrappername)); 2282 …wrapperhash = zend_hash_str_update(Z_ARRVAL(context->options), (char*)wrappername, strlen(wrappern…
|