]> granicus.if.org Git - php/commitdiff
Fix issue with zend_execute_ex replaced by execute_ex upon icall
authorBob Weinand <bobwei9@hotmail.com>
Tue, 16 Jun 2015 21:37:23 +0000 (23:37 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Tue, 16 Jun 2015 21:37:39 +0000 (23:37 +0200)
sapi/phpdbg/phpdbg_prompt.c

index 173c3f60d8b3c478032a08bd24d1c2ff6414df5c..146532f81eaf51d4b9047ab4e4a19a23b79a42a7 100644 (file)
@@ -1559,7 +1559,7 @@ next:
                if ((execute_data->opline->opcode == ZEND_DO_FCALL ||
                     execute_data->opline->opcode == ZEND_DO_UCALL ||
                     execute_data->opline->opcode == ZEND_DO_FCALL_BY_NAME) &&
-                   execute_data->func->type == ZEND_USER_FUNCTION) {
+                    execute_data->call->func->type == ZEND_USER_FUNCTION) {
                        zend_execute_ex = execute_ex;
                }
                PHPDBG_G(vmret) = zend_vm_call_opcode_handler(execute_data);