zend_hash_reverse_apply(EG(function_table), (apply_func_t) clean_non_persistent_function_full TSRMLS_CC);
zend_hash_reverse_apply(EG(class_table), (apply_func_t) clean_non_persistent_class_full TSRMLS_CC);
zend_hash_reverse_apply(EG(zend_constants), (apply_func_t) clean_non_persistent_constant_full TSRMLS_CC);
- zend_hash_destroy(&EG(included_files));
+ zend_hash_clean(&EG(included_files));
return SUCCESS;
} /* }}} */
return FAILURE;
} /* }}} */
-int phpdbg_interactive(int argc, char **argv TSRMLS_DC) /* {{{ */
+int phpdbg_interactive(TSRMLS_D) /* {{{ */
{
char cmd[PHPDBG_MAX_CMD];
if (PHPDBG_G(has_file_bp)
&& phpdbg_find_breakpoint_file(execute_data->op_array TSRMLS_CC) == SUCCESS) {
- while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
+ while (phpdbg_interactive(TSRMLS_C) != PHPDBG_NEXT) {
continue;
}
}
|| previous->opline->opcode == ZEND_DO_FCALL_BY_NAME) {
if (phpdbg_find_breakpoint_symbol(
previous->function_state.function TSRMLS_CC) == SUCCESS) {
- while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
+ while (phpdbg_interactive(TSRMLS_C) != PHPDBG_NEXT) {
continue;
}
}
execute_data TSRMLS_CC);
if (PHPDBG_G(stepping)) {
- while (phpdbg_interactive(0, NULL TSRMLS_CC) != PHPDBG_NEXT) {
+ while (phpdbg_interactive(TSRMLS_C) != PHPDBG_NEXT) {
continue;
}
}
#define PHPDBG_COMMAND(name) \
int phpdbg_do_##name(const char *expr, size_t expr_len TSRMLS_DC)
-int phpdbg_interactive(int argc, char **argv TSRMLS_DC);
+int phpdbg_interactive(TSRMLS_D);
void phpdbg_execute_ex(zend_execute_data *execute_data TSRMLS_DC);
#endif /* PHPDBG_PROMPT_H */