Skip to content

Commit 8911162

Browse files
committed
Move zend_deprecated_function call after SAVE_OPLINE()
1 parent 998a22b commit 8911162

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Zend/zend_vm_def.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4048,13 +4048,13 @@ ZEND_VM_HOT_HANDLER(130, ZEND_DO_UCALL, ANY, ANY, SPEC(RETVAL,OBSERVER))
40484048
zend_function *fbc = call->func;
40494049
zval *ret;
40504050

4051+
SAVE_OPLINE();
4052+
EX(call) = call->prev_execute_data;
4053+
40514054
if (UNEXPECTED((fbc->common.fn_flags & ZEND_ACC_DEPRECATED) != 0)) {
40524055
zend_deprecated_function(fbc);
40534056
}
40544057

4055-
SAVE_OPLINE();
4056-
EX(call) = call->prev_execute_data;
4057-
40584058
ret = NULL;
40594059
if (RETURN_VALUE_USED(opline)) {
40604060
ret = EX_VAR(opline->result.var);

Zend/zend_vm_execute.h

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)