diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-03-13 11:29:43 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-03-13 11:29:43 +0300 |
commit | ae26a51f0f9967e2182197e0abbb8abb1ad4c79a (patch) | |
tree | 035772f4c89804c0da0890dfbdc03ba96f206716 /sapi/phpdbg/phpdbg_prompt.c | |
parent | d695a44a7e22ff1e5d2cf7b304edbb834fcdf7b9 (diff) | |
download | php-git-ae26a51f0f9967e2182197e0abbb8abb1ad4c79a.tar.gz |
Added API function to call VM opcode handler in a portable way
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_prompt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index 72cb2e018c..b9228aa922 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -23,6 +23,7 @@ #include "zend.h" #include "zend_compile.h" #include "zend_exceptions.h" +#include "zend_vm.h" #include "phpdbg.h" #include "phpdbg_help.h" @@ -1460,7 +1461,7 @@ next: execute_data->func->type == ZEND_USER_FUNCTION) { zend_execute_ex = execute_ex; } - PHPDBG_G(vmret) = execute_data->opline->handler(execute_data); + PHPDBG_G(vmret) = zend_vm_call_opcode_handler(execute_data); zend_execute_ex = phpdbg_execute_ex; if (PHPDBG_G(vmret) != 0) { |