/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_webdata_transfer.c | 36 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 D | phpdbg_frame.c | 293 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 D | phpdbg_rinit_hook.c | 51 …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 | 139 ht = Z_ARRVAL(zv); in phpdbg_webdata_decompress()
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli_warning.c | 141 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 D | mysqli_nonapi.c | 703 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(dest_array), elem); 735 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(proxy), elem);
|
/PHP-7.1/main/ |
H A D | php_variables.c | 246 symtable1 == Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) && in php_register_variable_ex() 570 if (zend_hash_next_index_insert(Z_ARRVAL(arr), &tmp) == NULL) { in php_build_argv() 584 if (zend_hash_next_index_insert(Z_ARRVAL(arr), &tmp) == NULL) { in php_build_argv() 787 …zend_hash_str_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv")-1, argv… in php_auto_globals_create_server() 788 …zend_hash_str_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "argc", sizeof("argc")-1, argc… in php_auto_globals_create_server() 800 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server() 816 check_http_proxy(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])); in php_auto_globals_create_env() 842 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_GET])); in php_auto_globals_create_request() 849 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_POST])); in php_auto_globals_create_request() 856 php_autoglobal_merge(Z_ARRVAL(form_variables), Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE])); in php_auto_globals_create_request()
|
H A D | php_ini.c | 261 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.1/ext/standard/ |
H A D | array.c | 3941 p = Z_ARRVAL(args[0])->arData + idx; 4113 hash = Z_ARRVAL(args[i]); 4142 RETVAL_ARR(zend_array_dup(Z_ARRVAL(args[0]))); 4245 hash = Z_ARRVAL(args[i]); 4364 p = Z_ARRVAL(args[0])->arData + idx; 4535 hash = Z_ARRVAL(args[i]); 4564 RETVAL_ARR(zend_array_dup(Z_ARRVAL(args[0]))); 4665 hash = Z_ARRVAL(args[i]); 4726 num += zend_hash_num_elements(Z_ARRVAL(args[i])); 5432 if (pos >= Z_ARRVAL(arrays[i])->nNumUsed) { [all …]
|
H A D | streamsfuncs.c | 638 …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() 656 dest_elem = zend_hash_index_update(Z_ARRVAL(new_array), num_ind, elem); in stream_array_from_fd_set() 658 dest_elem = zend_hash_update(Z_ARRVAL(new_array), key, elem); in stream_array_from_fd_set() 687 …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() 702 dest_elem = zend_hash_next_index_insert(Z_ARRVAL(new_array), elem); in stream_array_emulate_read_fd_set()
|
H A D | http_fopen_wrapper.c | 746 zend_hash_next_index_insert(Z_ARRVAL(response_header), &http_response); in php_stream_url_wrap_http_ex() 849 zend_hash_next_index_insert(Z_ARRVAL(response_header), &http_header); in php_stream_url_wrap_http_ex()
|
/PHP-7.1/Zend/ |
H A D | zend_builtin_functions.c | 2288 zend_hash_add_new(Z_ARRVAL(modules[module_number]), val->name, &const_val); in ZEND_FUNCTION() 2654 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_FILE], &tmp); in zend_fetch_debug_backtrace() 2656 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_LINE], &tmp); in zend_fetch_debug_backtrace() 2674 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_FILE], &tmp); in zend_fetch_debug_backtrace() 2676 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_LINE], &tmp); in zend_fetch_debug_backtrace() 2712 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_CLASS], &tmp); in zend_fetch_debug_backtrace() 2720 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_TYPE], &tmp); in zend_fetch_debug_backtrace() 2723 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_CLASS], &tmp); in zend_fetch_debug_backtrace() 2725 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_TYPE], &tmp); in zend_fetch_debug_backtrace() 2732 zend_hash_add_new(Z_ARRVAL(stack_frame), CG(known_strings)[ZEND_STR_ARGS], &tmp); in zend_fetch_debug_backtrace() [all …]
|
H A D | zend_types.h | 534 #define Z_ARRVAL(zval) Z_ARR(zval) macro 535 #define Z_ARRVAL_P(zval_p) Z_ARRVAL(*(zval_p))
|
/PHP-7.1/ext/xml/ |
H A D | xml.c | 692 if ((element = zend_hash_str_find(Z_ARRVAL(parser->info), name, strlen(name))) == NULL) { in _xml_add_to_info() 695 element = zend_hash_str_update(Z_ARRVAL(parser->info), name, strlen(name), &values); in _xml_add_to_info() 744 zend_symtable_update(Z_ARRVAL(args[2]), att, &tmp); in _xml_startElementHandler() 781 zend_symtable_update(Z_ARRVAL(atr), att, &tmp); in _xml_startElementHandler() 790 zend_hash_str_add(Z_ARRVAL(tag), "attributes", sizeof("attributes") - 1, &atr); in _xml_startElementHandler() 795 parser->ctag = zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_startElementHandler() 839 zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_endElementHandler() 910 ZEND_HASH_REVERSE_FOREACH_VAL(Z_ARRVAL(parser->data), curtag) { in _xml_characterDataHandler() 936 zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); in _xml_characterDataHandler()
|
/PHP-7.1/ext/readline/ |
H A D | readline.c | 457 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.1/ext/xmlrpc/ |
H A D | xmlrpc-epi-php.c | 567 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() 885 …if ((php_function = zend_hash_find(Z_ARRVAL(pData->server->method_map), Z_STR(pData->xmlrpc_method… in php_xmlrpc_callback() 920 ZEND_HASH_FOREACH_VAL(Z_ARRVAL(pData->server->introspection_map), php_function) { in php_xmlrpc_introspection_callback() 958 zend_hash_clean(Z_ARRVAL(pData->server->introspection_map)); in php_xmlrpc_introspection_callback()
|
/PHP-7.1/ext/session/ |
H A D | php_session.h | 284 zend_hash_del(Z_ARRVAL(PS(http_session_vars)), name); \
|
H A D | session.c | 1505 …(data = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("R… 1520 …(data = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("… 2755 …if ((ppid = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[where]), PS(session_name), progress->snam… 2930 …progress->post_bytes_processed = zend_hash_str_find(Z_ARRVAL(progress->data), "bytes_processed", s… 2956 …progress->current_file_bytes_processed = zend_hash_str_find(Z_ARRVAL(progress->current_file), "byt…
|
/PHP-7.1/ext/spl/ |
H A D | spl_iterators.c | 2084 count = zend_hash_num_elements(Z_ARRVAL(intern->current.data)); in SPL_METHOD() 2284 RETURN_BOOL(zend_hash_num_elements(Z_ARRVAL(intern->current.data)) > 0); in SPL_METHOD() 2650 array_set_zval_key(Z_ARRVAL(intern->u.caching.zcache), key, data); in spl_caching_it_next() 2715 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in spl_caching_it_rewind() 2836 zend_symtable_update(Z_ARRVAL(intern->u.caching.zcache), key, value); in SPL_METHOD() 2859 if ((value = zend_symtable_find(Z_ARRVAL(intern->u.caching.zcache), key)) == NULL) { in SPL_METHOD() 2887 zend_symtable_del(Z_ARRVAL(intern->u.caching.zcache), key); in SPL_METHOD() 2909 RETURN_BOOL(zend_symtable_exists(Z_ARRVAL(intern->u.caching.zcache), key)); in SPL_METHOD() 2977 zend_hash_clean(Z_ARRVAL(intern->u.caching.zcache)); in SPL_METHOD() 3000 RETURN_LONG(zend_hash_num_elements(Z_ARRVAL(intern->u.caching.zcache))); in SPL_METHOD()
|
/PHP-7.1/ext/wddx/ |
H A D | wddx.c | 311 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.1/sapi/litespeed/ |
H A D | lsapi_main.c | 248 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])) > 0 in litespeed_php_import_environment_variables() 255 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
|
/PHP-7.1/ext/intl/calendar/ |
H A D | calendar_class.cpp | 184 zend_hash_copy(Z_ARRVAL(ztz_debug), debug_info_tz, zval_add_ref); in Calendar_get_debug_info()
|
/PHP-7.1/ext/pdo/ |
H A D | pdo_stmt.c | 1069 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &cur); in do_fetch() 1073 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val); in do_fetch() 1195 zend_hash_next_index_insert(Z_ARRVAL(grp), return_value); in do_fetch() 1946 … } 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.1/main/streams/ |
H A D | streams.c | 2222 …if (NULL == (wrapperhash = zend_hash_str_find(Z_ARRVAL(context->options), wrappername, strlen(wrap… 2235 wrapperhash = zend_hash_str_find(Z_ARRVAL(context->options), wrappername, strlen(wrappername)); 2238 …wrapperhash = zend_hash_str_update(Z_ARRVAL(context->options), (char*)wrappername, strlen(wrappern…
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 1857 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()
|