com php-src: - WS: phpdbg_info.c

From: Date: Sun, 17 Nov 2013 19:40:49 +0000
Subject: com php-src: - WS: phpdbg_info.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74873@lists.php.net to get a copy of this message
Commit: e514804cac1c68b9f4704cfb88c886833c28e6ab Author: Felipe Pena <felipensp@gmail.com> Sun, 17 Nov 2013 17:40:49 -0200 Parents: f2e4e63b5e39d46beef4d5e7e1dbb83b3f93d02e Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e514804cac1c68b9f4704cfb88c886833c28e6ab Log: - WS Changed paths: M phpdbg_info.c Diff: diff --git a/phpdbg_info.c b/phpdbg_info.c index f1700cf..631c8a4 100644 --- a/phpdbg_info.c +++ b/phpdbg_info.c @@ -155,10 +155,10 @@ PHPDBG_INFO(funcs) /* {{{ */ HashPosition position; zend_function *zf, **pzf; HashTable functions; - + zend_hash_init(&functions, 8, NULL, NULL, 0); - for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position); + for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position); zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position) == SUCCESS; zend_hash_move_forward_ex(EG(function_table), &position)) { @@ -167,15 +167,15 @@ PHPDBG_INFO(funcs) /* {{{ */ &functions, (void**) &zf, sizeof(zend_function), NULL); } } - + phpdbg_notice("User Functions (%d)", zend_hash_num_elements(&functions)); - for (zend_hash_internal_pointer_reset_ex(&functions, &position); + for (zend_hash_internal_pointer_reset_ex(&functions, &position); zend_hash_get_current_data_ex(&functions, (void**)&pzf, &position) == SUCCESS; zend_hash_move_forward_ex(&functions, &position)) { zend_op_array *op_array = &((*pzf)->op_array); - + phpdbg_writeln( "|-------- %s in %s on line %d", op_array->function_name ? op_array->function_name : "{main}", @@ -184,6 +184,6 @@ PHPDBG_INFO(funcs) /* {{{ */ } zend_hash_destroy(&functions); - + return SUCCESS; } /* }}} */

« previous php.cvs (#74873) next »