Place FE_FREE on start line of foreach, instead of whatever random
line number might be in CG(zend_lineno) at the time.
- Core:
. Fixed bug #71041 (zend_signal_startup() needs ZEND_API).
(Valentin V. Bartenev)
+ . Fixed bug #76046 (PHP generates "FE_FREE" opcode on the wrong line).
+ (Nikita)
- COM:
. Fixed bug #77177 (Serializing or unserializing COM objects crashes). (cmb)
zend_end_loop(opnum_fetch, &reset_node);
+ CG(zend_lineno) = ast->lineno;
opline = zend_emit_op(NULL, ZEND_FE_FREE, &reset_node, NULL);
}
/* }}} */