Skip to content

Conversation

nikic
Copy link
Member

@nikic nikic commented Mar 12, 2016

No description provided.

@@ -15802,21 +15812,29 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_NEW_SPEC_VAR_HANDLER(ZEND_OPCO

constructor = Z_OBJ_HT_P(result)->get_constructor(Z_OBJ_P(result));
if (constructor == NULL) {
ZEND_VM_JMP(OP_JMP_ADDR(opline, opline->op2));
if (EXPECTED(opline->extended_value == 0)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work with ZEND_EXT_NOP (or ZEND_TICK) inserted between NEW and DO_FCALL,

@nikic
Copy link
Member Author

nikic commented Mar 25, 2016

Merged as 8e5b139 with extra check for DO_FCALL.

@nikic nikic closed this Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants