Home
last modified time | relevance | path

Searched refs:Z_ARRVAL (Results 1 – 25 of 54) sorted by relevance

123

/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.c36 ht = Z_ARRVAL(array); in phpdbg_webdata_compress()
46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table), NULL); in phpdbg_webdata_compress()
47 Z_ARRVAL(zv[1])->pDestructor = NULL; /* we're operating on a copy! Don't double free zvals */ in phpdbg_webdata_compress()
48 …zend_hash_str_del(Z_ARRVAL(zv[1]), ZEND_STRL("GLOBALS")); /* do not use the reference to itself in… in phpdbg_webdata_compress()
88 zend_hash_next_index_insert(Z_ARRVAL(zv[7]), value); in phpdbg_webdata_compress()
97 zend_hash_next_index_insert(Z_ARRVAL(zv[8]), value); in phpdbg_webdata_compress()
140 zend_hash_add(Z_ARRVAL(zv[3]), ini_entry->name, value); in phpdbg_webdata_compress()
157 zend_hash_add(Z_ARRVAL(zv[4]), ini_entry->name, value); in phpdbg_webdata_compress()
H A Dphpdbg_frame.c293 zend_hash_internal_pointer_reset_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace()
294 tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace()
295 while ((tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position))) { in phpdbg_dump_backtrace()
311 zend_hash_move_forward_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace()
H A Dphpdbg_rinit_hook.c51 …if (Z_TYPE(cookies) == IS_ARRAY || (auth = zend_hash_str_find(Z_ARRVAL(cookies), PHPDBG_NAME "_AUT… in PHP_RINIT_FUNCTION()
H A Dphpdbg_wait.c139 ht = Z_ARRVAL(zv); in phpdbg_webdata_decompress()
/PHP-7.2/ext/mysqli/
H A Dmysqli_warning.c141 zend_hash_internal_pointer_reset(Z_ARRVAL(row)); in php_get_warnings()
143 zend_hash_move_forward(Z_ARRVAL(row)); in php_get_warnings()
146 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in php_get_warnings()
149 zend_hash_move_forward(Z_ARRVAL(row)); in php_get_warnings()
152 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in php_get_warnings()
H A Dmysqli_nonapi.c752 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(dest_array), elem);
784 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(proxy), elem);
/PHP-7.2/main/
H A Dphp_variables.c254 symtable1 == Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex()
578 if (zend_hash_next_index_insert(Z_ARRVAL(arr), &tmp) == NULL) { in php_build_argv()
592 if (zend_hash_next_index_insert(Z_ARRVAL(arr), &tmp) == NULL) { in php_build_argv()
795 …zend_hash_str_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv")-1, argv… in php_auto_globals_create_server()
796 …zend_hash_str_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "argc", sizeof("argc")-1, argc… in php_auto_globals_create_server()
808 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
815 HT_ALLOW_COW_VIOLATION(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
829 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])); in php_auto_globals_create_env()
855 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_GET])); in php_auto_globals_create_request()
862 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_POST])); in php_auto_globals_create_request()
[all …]
H A Dphp_ini.c261 zend_hash_init(Z_ARRVAL(option_arr), 8, NULL, config_zval_dtor, 1); in php_ini_parser_cb()
328 zend_hash_init(Z_ARRVAL(section_arr), 8, NULL, (dtor_func_t) config_zval_dtor, 1); in php_ini_parser_cb()
/PHP-7.2/ext/standard/
H A Darray.c4668 p = Z_ARRVAL(args[0])->arData + idx;
4840 hash = Z_ARRVAL(args[i]);
4862 RETVAL_ARR(zend_array_dup(Z_ARRVAL(args[0])));
4965 hash = Z_ARRVAL(args[i]);
5084 p = Z_ARRVAL(args[0])->arData + idx;
5255 hash = Z_ARRVAL(args[i]);
5277 RETVAL_ARR(zend_array_dup(Z_ARRVAL(args[0])));
5378 hash = Z_ARRVAL(args[i]);
5439 num += zend_hash_num_elements(Z_ARRVAL(args[i]));
6153 if (pos >= Z_ARRVAL(arrays[i])->nNumUsed) {
[all …]
H A Dstreamsfuncs.c669 …zend_hash_init(Z_ARRVAL(new_array), zend_hash_num_elements(Z_ARRVAL_P(stream_array)), NULL, ZVAL_P… in stream_array_from_fd_set()
687 dest_elem = zend_hash_index_update(Z_ARRVAL(new_array), num_ind, elem); in stream_array_from_fd_set()
689 dest_elem = zend_hash_update(Z_ARRVAL(new_array), key, elem); in stream_array_from_fd_set()
720 …zend_hash_init(Z_ARRVAL(new_array), zend_hash_num_elements(Z_ARRVAL_P(stream_array)), NULL, ZVAL_P… in stream_array_emulate_read_fd_set()
736 dest_elem = zend_hash_index_update(Z_ARRVAL(new_array), num_ind, elem); in stream_array_emulate_read_fd_set()
738 dest_elem = zend_hash_update(Z_ARRVAL(new_array), key, elem); in stream_array_emulate_read_fd_set()
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c2107 zend_hash_add_new(Z_ARRVAL(modules[module_number]), val->name, &const_val); in ZEND_FUNCTION()
2473 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in zend_fetch_debug_backtrace()
2475 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in zend_fetch_debug_backtrace()
2493 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in zend_fetch_debug_backtrace()
2495 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in zend_fetch_debug_backtrace()
2531 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_CLASS), &tmp); in zend_fetch_debug_backtrace()
2539 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_TYPE), &tmp); in zend_fetch_debug_backtrace()
2542 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_CLASS), &tmp); in zend_fetch_debug_backtrace()
2544 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_TYPE), &tmp); in zend_fetch_debug_backtrace()
2551 zend_hash_add_new(Z_ARRVAL(stack_frame), ZSTR_KNOWN(ZEND_STR_ARGS), &tmp); in zend_fetch_debug_backtrace()
[all …]
H A Dzend_types.h593 #define Z_ARRVAL(zval) Z_ARR(zval) macro
594 #define Z_ARRVAL_P(zval_p) Z_ARRVAL(*(zval_p))
/PHP-7.2/ext/xml/
H A Dxml.c682 if ((element = zend_hash_str_find(Z_ARRVAL(parser->info), name, strlen(name))) == NULL) { in _xml_add_to_info()
685 element = zend_hash_str_update(Z_ARRVAL(parser->info), name, strlen(name), &values); in _xml_add_to_info()
734 zend_symtable_update(Z_ARRVAL(args[2]), att, &tmp); in _xml_startElementHandler()
771 zend_symtable_update(Z_ARRVAL(atr), att, &tmp); in _xml_startElementHandler()
780 zend_hash_str_add(Z_ARRVAL(tag), "attributes", sizeof("attributes") - 1, &atr); in _xml_startElementHandler()
785 parser->ctag = zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_startElementHandler()
829 zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_endElementHandler()
900 ZEND_HASH_REVERSE_FOREACH_VAL(Z_ARRVAL(parser->data), curtag) { in _xml_characterDataHandler()
926 zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_characterDataHandler()
/PHP-7.2/ext/readline/
H A Dreadline.c457 HashTable *myht = Z_ARRVAL(_readline_array); in _readline_command_generator()
502 if (zend_hash_num_elements(Z_ARRVAL(_readline_array))) { in _readline_completion_cb()
/PHP-7.2/ext/xmlrpc/
H A Dxmlrpc-epi-php.c567 vtype = determine_vector_type(Z_ARRVAL(val_arr)); in PHP_to_XMLRPC_worker()
570 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(val_arr), num_index, my_key, pIter) { in PHP_to_XMLRPC_worker()
893 …if ((php_function = zend_hash_find(Z_ARRVAL(pData->server->method_map), Z_STR(pData->xmlrpc_method… in php_xmlrpc_callback()
928 ZEND_HASH_FOREACH_VAL(Z_ARRVAL(pData->server->introspection_map), php_function) { in php_xmlrpc_introspection_callback()
966 zend_hash_clean(Z_ARRVAL(pData->server->introspection_map)); in php_xmlrpc_introspection_callback()
/PHP-7.2/ext/spl/
H A Dspl_iterators.c2083 count = zend_hash_num_elements(Z_ARRVAL(intern->current.data)); in SPL_METHOD()
2283 RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL(intern->current.data)) > 0); in SPL_METHOD()
2649 array_set_zval_key(Z_ARRVAL(intern->u.caching.zcache), key, data); in spl_caching_it_next()
2714 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in spl_caching_it_rewind()
2835 zend_symtable_update(Z_ARRVAL(intern->u.caching.zcache), key, value); in SPL_METHOD()
2858 if ((value = zend_symtable_find(Z_ARRVAL(intern->u.caching.zcache), key)) == NULL) { in SPL_METHOD()
2886 zend_symtable_del(Z_ARRVAL(intern->u.caching.zcache), key); in SPL_METHOD()
2908 RETURN_BOOL(zend_symtable_exists(Z_ARRVAL(intern->u.caching.zcache), key)); in SPL_METHOD()
2976 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in SPL_METHOD()
2999 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL(intern->u.caching.zcache))); in SPL_METHOD()
/PHP-7.2/ext/session/
H A Dphp_session.h287 zend_hash_del(Z_ARRVAL(PS(http_session_vars)), name); \
H A Dsession.c1566 …(data = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("R… in php_session_start()
1581 …(data = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("… in php_session_start()
2976 …if ((ppid = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[where]), PS(session_name), progress->snam… in early_find_sid_in()
3151 …progress->post_bytes_processed = zend_hash_str_find(Z_ARRVAL(progress->data), "bytes_processed", s… in php_session_rfc1867_callback()
3177 …progress->current_file_bytes_processed = zend_hash_str_find(Z_ARRVAL(progress->current_file), "byt… in php_session_rfc1867_callback()
/PHP-7.2/ext/wddx/
H A Dwddx.c311 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(retval), idx, key, ent) { in PS_SERIALIZER_DECODE_FUNC()
858 …(field = zend_hash_str_find(Z_ARRVAL(recordset->data), (char*)atts[i+1], strlen((char *)atts[i+1])… in php_wddx_push_element()
977 Z_ARRVAL(ent2->data), in php_wddx_pop_element()
/PHP-7.2/ext/intl/calendar/
H A Dcalendar_class.cpp184 zend_hash_copy(Z_ARRVAL(ztz_debug), debug_info_tz, zval_add_ref); in Calendar_get_debug_info()
/PHP-7.2/ext/pdo/
H A Dpdo_stmt.c1065 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &cur); in do_fetch()
1069 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val); in do_fetch()
1191 zend_hash_next_index_insert(Z_ARRVAL(grp), return_value); in do_fetch()
1952 … } else if (Z_TYPE(args[skip+2]) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL(args[skip+2]))) { in pdo_stmt_setup_fetch_mode()
/PHP-7.2/sapi/litespeed/
H A Dlsapi_main.c249 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])) > 0 in litespeed_php_import_environment_variables()
256 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
/PHP-7.2/ext/opcache/Optimizer/
H A Dcompact_literals.c489 if (zend_hash_num_elements(Z_ARRVAL(op_array->literals[i])) == 0) { in zend_optimizer_compact_literals()
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_result.c1857 zend_hash_internal_pointer_reset(Z_ARRVAL(row)); in MYSQLND_METHOD()
1859 zend_hash_move_forward(Z_ARRVAL(row)); in MYSQLND_METHOD()
1862 entry = zend_hash_get_current_data(Z_ARRVAL(row)); in MYSQLND_METHOD()
/PHP-7.2/main/streams/
H A Dstreams.c2203 …if (NULL == (wrapperhash = zend_hash_str_find(Z_ARRVAL(context->options), wrappername, strlen(wrap…
2216 wrapperhash = zend_hash_str_find(Z_ARRVAL(context->options), wrappername, strlen(wrappername));
2219 …wrapperhash = zend_hash_str_update(Z_ARRVAL(context->options), (char*)wrappername, strlen(wrappern…

Completed in 186 milliseconds

123