summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-05 18:45:07 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-07 12:35:30 +0200
commitaf80d8a14e5540a151e2b40f165ebe122467484b (patch)
treec852017699321228cb32ae5764f817ee64be1a2a /sapi/phpdbg
parent3bb183036976fc8bfdf039b41efe1e4312894937 (diff)
downloadphp-git-af80d8a14e5540a151e2b40f165ebe122467484b.tar.gz
Add more argument types to stubs
Closes GH-5943
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index 2c58ffc3fb..9977adad4c 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -1664,7 +1664,6 @@ static inline void list_code() {
zend_clear_exception(); \
list_code(); \
switch (phpdbg_interactive(allow_async_unsafe, NULL)) { \
- zval zv; \
case PHPDBG_LEAVE: \
case PHPDBG_FINISH: \
case PHPDBG_UNTIL: \
@@ -1674,8 +1673,7 @@ static inline void list_code() {
EG(current_execute_data)->opline = backup_opline; \
EG(exception) = exception; \
} else { \
- Z_OBJ(zv) = exception; \
- zend_throw_exception_internal(&zv); \
+ zend_throw_exception_internal(exception); \
} \
EG(opline_before_exception) = before_ex; \
} \