From aa5f55306b4bd630e9304e9a8d1ea10cf4121f78 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 17 Mar 2014 23:15:22 +0400 Subject: Refactored EG(active_symbol_table) to be zend_array* instead of HashTable* --- sapi/phpdbg/phpdbg_info.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sapi/phpdbg/phpdbg_info.c') diff --git a/sapi/phpdbg/phpdbg_info.c b/sapi/phpdbg/phpdbg_info.c index d1a3cf6a9b..660404883c 100644 --- a/sapi/phpdbg/phpdbg_info.c +++ b/sapi/phpdbg/phpdbg_info.c @@ -92,13 +92,13 @@ PHPDBG_INFO(vars) /* {{{ */ zend_hash_init(&vars, 8, NULL, NULL, 0); - zend_hash_internal_pointer_reset_ex(EG(active_symbol_table), &pos); - while (zend_hash_get_current_key_ex(EG(active_symbol_table), &var, NULL, 0, &pos) == HASH_KEY_IS_STRING) { - data = zend_hash_get_current_data_ex(EG(active_symbol_table), &pos); + zend_hash_internal_pointer_reset_ex(&EG(active_symbol_table)->ht, &pos); + while (zend_hash_get_current_key_ex(&EG(active_symbol_table)->ht, &var, NULL, 0, &pos) == HASH_KEY_IS_STRING) { + data = zend_hash_get_current_data_ex(&EG(active_symbol_table)->ht, &pos); if (*(var->val) != '_') { zend_hash_update(&vars, var, data); } - zend_hash_move_forward_ex(EG(active_symbol_table), &pos); + zend_hash_move_forward_ex(&EG(active_symbol_table)->ht, &pos); } { -- cgit v1.2.1