diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-03-17 23:15:22 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-03-17 23:15:22 +0400 |
commit | aa5f55306b4bd630e9304e9a8d1ea10cf4121f78 (patch) | |
tree | c62ba226140efbe77cb039552300249902476f1d /sapi/phpdbg/phpdbg_info.c | |
parent | 1b6327fd3bfba7be7d821e85b648e890350e7809 (diff) | |
download | php-git-aa5f55306b4bd630e9304e9a8d1ea10cf4121f78.tar.gz |
Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*
Diffstat (limited to 'sapi/phpdbg/phpdbg_info.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_info.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } { |