Home
last modified time | relevance | path

Searched refs:zend_hash_num_elements (Results 1 – 25 of 128) sorted by relevance

123456

/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_info.c65 phpdbg_notice("Included files: %d", zend_hash_num_elements(&EG(included_files))); in PHPDBG_INFO()
118 phpdbg_notice("User-defined constants (%d)", zend_hash_num_elements(&consts)); in PHPDBG_INFO()
120 if (zend_hash_num_elements(&consts)) { in PHPDBG_INFO()
209 phpdbg_notice("Superglobal variables (%d)", zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
215 … in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
217 …phpdbg_notice("Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_num_elements(&vars… in phpdbg_print_symbols()
221 phpdbg_notice("Variables in %s (%d)", ZSTR_VAL(ops->filename), zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
223 phpdbg_notice("Variables @ %p (%d)", ops, zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
228 if (zend_hash_num_elements(&vars)) { in phpdbg_print_symbols()
399 phpdbg_notice("User Classes (%d)", zend_hash_num_elements(&classes)); in PHPDBG_INFO()
[all …]
H A Dphpdbg_prompt.c1121 phpdbg_writeln("Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1122 phpdbg_writeln("Functions %d", zend_hash_num_elements(EG(function_table))); in PHPDBG_COMMAND()
1123 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1124 phpdbg_writeln("Included %d", zend_hash_num_elements(&EG(included_files))); in PHPDBG_COMMAND()
1459 phpdbg_writeln("Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1460 phpdbg_writeln("Functions %d", zend_hash_num_elements(EG(function_table))); in PHPDBG_COMMAND()
1461 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1462 phpdbg_writeln("Includes %d", zend_hash_num_elements(&EG(included_files))); in PHPDBG_COMMAND()
1473 phpdbg_writeln("File %d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE])); in PHPDBG_COMMAND()
1474 phpdbg_writeln("Functions %d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM])); in PHPDBG_COMMAND()
[all …]
H A Dphpdbg_print.c138 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
140 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
293 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
H A Dphpdbg_watch.c148 return zend_hash_num_elements(HT_PTR_HT(oldPtr)) != zend_hash_num_elements(HT_PTR_HT(newPtr)); in phpdbg_check_watch_diff()
189 …elementDiff = zend_hash_num_elements(HT_PTR_HT(oldPtr)) - zend_hash_num_elements(HT_PTR_HT(newPtr)… in phpdbg_print_watch_diff()
396 if (zend_hash_num_elements(&coll->parents) == 0) {
631 } else if (zend_hash_num_elements(&element->child_container) == 0) {
679 if (zend_hash_num_elements(&hti->watches) == 1) {
979 if (zend_hash_num_elements(elements) == 0) {
1167 if (zend_hash_num_elements(&PHPDBG_G(watch_elements)) == 0) {
1171 if (zend_hash_num_elements(PHPDBG_G(watchlist_mem)) > 0) {
1211 if (zend_hash_num_elements(&PHPDBG_G(watch_elements))) {
1222 zend_ulong num = zend_hash_num_elements(&hti->watches);
H A Dphpdbg_bp.c124 if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])) { in phpdbg_export_breakpoints_to_string()
125 …phpdbg_notice("Exporting %d breakpoints", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])); in phpdbg_export_breakpoints_to_string()
377 if (!zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_PENDING])) { in phpdbg_resolve_pending_file_break_ex()
1205 if (zend_hash_num_elements(table) == 1) { in phpdbg_delete_breakpoint()
1208 if (zend_hash_num_elements(&PHPDBG_G(bp)[type]) == 1) { in phpdbg_delete_breakpoint()
1215 if (zend_hash_num_elements(table) == 1) { in phpdbg_delete_breakpoint()
1225 if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]) == 1) { in phpdbg_delete_breakpoint()
/PHP-8.3/sapi/phpdbg/tests/
H A Dgh15268.phpt2 GH-15268 (heap buffer overflow in phpdbg (zend_hash_num_elements() Zend/zend_hash.h))
/PHP-8.3/ext/pdo_pgsql/
H A Dpgsql_statement.c183 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0, in pgsql_stmt_execute()
219 zend_hash_num_elements(stmt->bound_params) : in pgsql_stmt_execute()
228 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0, in pgsql_stmt_execute()
319 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
322 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
325 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
328 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
/PHP-8.3/ext/spl/
H A Dspl_observer.c336 debug_info = zend_new_array(zend_hash_num_elements(props) + 1); in spl_object_storage_debug_info()
577 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
604 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
630 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
660 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
785 ZVAL_LONG(&flags, zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
958 array_init_size(&tmp, 2 * zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
994 if (zend_hash_num_elements(Z_ARRVAL_P(storage_zv)) % 2 != 0) { in PHP_METHOD()
1149 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
1208 if (!zend_hash_num_elements(&intern->storage)) { in PHP_METHOD()
[all …]
H A Dspl_fixedarray.c244 if (size == 0 && (!source_properties || !zend_hash_num_elements(source_properties))) { in spl_fixedarray_object_get_properties_for()
254 if (source_properties && zend_hash_num_elements(source_properties) > 0) { in spl_fixedarray_object_get_properties_for()
584 int size = zend_hash_num_elements(intern_ht); in PHP_METHOD()
610 uint32_t num_properties = zend_hash_num_elements(ht); in PHP_METHOD()
645 size = zend_hash_num_elements(data); in PHP_METHOD()
723 num = zend_hash_num_elements(Z_ARRVAL_P(data)); in PHP_METHOD()
/PHP-8.3/Zend/
H A Dzend_objects.c235 EXPECTED(zend_hash_num_elements(old_object->properties))) { in zend_objects_clone_members()
241 new_object->properties = zend_new_array(zend_hash_num_elements(old_object->properties)); in zend_objects_clone_members()
244 …xtend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements(old_object… in zend_objects_clone_members()
H A Dzend_extensions.c311 size_t functions = zend_hash_num_elements(CG(function_table)); in zend_init_internal_run_time_cache()
314 functions += zend_hash_num_elements(&ce->function_table); in zend_init_internal_run_time_cache()
/PHP-8.3/ext/soap/
H A Dphp_sdl.c749 n = zend_hash_num_elements(&ctx.services); in load_wsdl()
2037 i = zend_hash_num_elements(ht); in sdl_serialize_parameters()
2066 i = zend_hash_num_elements(body->headers); in sdl_serialize_soap_body()
2147 i = zend_hash_num_elements(sdl->groups); in add_sdl_to_cache()
2164 i = zend_hash_num_elements(sdl->types); in add_sdl_to_cache()
2181 i = zend_hash_num_elements(sdl->elements); in add_sdl_to_cache()
2198 i = zend_hash_num_elements(sdl->encoders); in add_sdl_to_cache()
2265 i = zend_hash_num_elements(sdl->bindings); in add_sdl_to_cache()
2363 i = zend_hash_num_elements(sdl->requests); in add_sdl_to_cache()
3042 if (zend_hash_num_elements(&bp_types)) { in make_persistent_sdl()
[all …]
H A Dsoap.c564 } else if (code_ht && zend_hash_num_elements(code_ht) == 2) { in PHP_METHOD()
849 zend_hash_num_elements(Z_ARRVAL_P(tmp)) > 0) { in PHP_METHOD()
2018 zend_hash_num_elements(Z_ARRVAL_P(tmp)) > 0) {
2475 arg_count = zend_hash_num_elements(Z_ARRVAL_P(args));
3469 zend_hash_num_elements(function->faults) == 1) {
3487 zend_hash_num_elements(fault->details) == 1) {
3568 zend_hash_num_elements(Z_OBJPROP_P(detail)) == 1 &&
3827 int n = zend_hash_num_elements(function->requestParameters);
4061 zend_hash_num_elements(tmp->requestParameters) == 0) {
4108 zend_hash_num_elements(function->responseParameters) > 0) {
[all …]
/PHP-8.3/ext/standard/
H A Darray.c627 cnt = zend_hash_num_elements(ht); in php_count_recursive()
899 if (zend_hash_num_elements(arr) == 0) { in php_usort()
1043 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
1074 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
1105 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
1136 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
3218 num_in = zend_hash_num_elements(in_hash);
3979 zend_hash_extend(dest, zend_hash_num_elements(dest) + zend_hash_num_elements(src), 1);
4406 arrlen = zend_hash_num_elements(arrval);
6344 if (zend_hash_num_elements(htbl) == 0) {
[all …]
H A Dvar.c135 count = zend_hash_num_elements(myht); in php_var_dump()
327 count = zend_hash_num_elements(myht); in php_debug_zval_dump()
860 zend_hash_init(ht, zend_hash_num_elements(sleep_retval), NULL, ZVAL_PTR_DTOR, 0); in php_var_serialize_get_sleep_props()
983 …buf, struc, &props, zend_hash_num_elements(&props), /* incomplete_class */ 0, var_hash, GC_REFCOUN… in php_var_serialize_class()
1109 smart_str_append_unsigned(buf, zend_hash_num_elements(Z_ARRVAL(retval))); in php_var_serialize_intern()
1369 …zend_hash_init(class_hash, (Z_TYPE_P(classes) == IS_ARRAY)?zend_hash_num_elements(Z_ARRVAL_P(class… in php_unserialize_with_options()
/PHP-8.3/ext/random/
H A Dengine_mt19937.c191 if (zend_hash_num_elements(data) != (MT_N + 2)) { in unserialize()
352 if (zend_hash_num_elements(d) != 2) { in PHP_METHOD()
H A Dengine_pcgoneseq128xslrr64.c87 if (zend_hash_num_elements(data) != 2) { in unserialize()
H A Dengine_xoshiro256starstar.c135 if (zend_hash_num_elements(data) != 4) { in unserialize()
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_debug.c279 if (zend_hash_num_elements(&self->not_filtered_functions) && in MYSQLND_METHOD()
337 } else if (!zend_hash_num_elements(&self->not_filtered_functions) || in MYSQLND_METHOD()
432 "number of functions: %d", zend_hash_num_elements(&self->function_profiles)); in MYSQLND_METHOD()
517 if (zend_hash_num_elements(&self->not_filtered_functions)) { in MYSQLND_METHOD()
/PHP-8.3/ext/phar/
H A Dfunc_interceptors.c34 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHAR_FUNC()
173 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHAR_FUNC()
246 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHAR_FUNC()
292 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHAR_FUNC()
737 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PharFileFunction()
803 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHAR_FUNC()
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_format.c161 if (!hash_arr || zend_hash_num_elements(hash_arr) == 0) { in PHP_FUNCTION()
H A Ddateformat_format_object.cpp93 if (zend_hash_num_elements(ht) != 2) { in PHP_FUNCTION()
/PHP-8.3/ext/dom/
H A Dnodelist.c75 return zend_hash_num_elements(nodeht); in php_dom_get_nodelist_length()
/PHP-8.3/sapi/apache2handler/
H A Dapache_config.c64 …phpapdebug((stderr, "Getting %s=%s for %p (%d)\n", name, value, dummy, zend_hash_num_elements(&d->… in real_value_hnd()
/PHP-8.3/ext/ldap/
H A Dldap.c509 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(tmp)); in _php_ldap_control_from_array()
550 num_keys = zend_hash_num_elements(Z_ARRVAL_P(val)); in _php_ldap_control_from_array()
756 ncontrols = zend_hash_num_elements(Z_ARRVAL_P(array)); in _php_ldap_controls_from_array()
1500 nlinks = zend_hash_num_elements(Z_ARRVAL_P(link)); in php_ldap_do_search()
1513 nbases = zend_hash_num_elements(base_dn_ht); in php_ldap_do_search()
1530 nfilters = zend_hash_num_elements(filter_ht); in php_ldap_do_search()
2206 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(entry)); in php_ldap_do_modify()
2241 num_values = zend_hash_num_elements(Z_ARRVAL_P(value)); in php_ldap_do_modify()
2604 num_mods = zend_hash_num_elements(Z_ARRVAL_P(mods)); in PHP_FUNCTION()
2623 num_modprops = zend_hash_num_elements(Z_ARRVAL_P(mod)); in PHP_FUNCTION()
[all …]

Completed in 208 milliseconds

123456