Skip to content

Commit dd39ec7

Browse files
committed
fixup! Deprecate calling get_class() and get_parent_class() without arguments
1 parent 20e6140 commit dd39ec7

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

Zend/zend_vm_def.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9364,9 +9364,8 @@ ZEND_VM_COLD_CONST_HANDLER(191, ZEND_GET_CLASS, UNUSED|CONST|TMPVAR|CV, UNUSED)
93649364
ZVAL_STR_COPY(EX_VAR(opline->result.var), EX(func)->common.scope->name);
93659365
if (UNEXPECTED(EG(exception))) {
93669366
HANDLE_EXCEPTION();
9367-
} else {
9368-
ZEND_VM_NEXT_OPCODE();
93699367
}
9368+
ZEND_VM_NEXT_OPCODE();
93709369
}
93719370
} else {
93729371
zval *op1;

Zend/zend_vm_execute.h

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

0 commit comments

Comments
 (0)