void do_end_function_declaration(znode *function_token CLS_DC)
{
+ do_return(NULL, 0 CLS_CC);
pass_two(CG(active_op_array));
CG(active_op_array) = function_token->u.op_array;
void execute(zend_op_array *op_array ELS_DC)
{
zend_op *opline = op_array->opcodes;
+#if SUPPORT_INTERACTIVE
zend_op *end = op_array->opcodes + op_array->last;
+#endif
zend_function_state function_state;
zend_function *fbc=NULL; /* Function Being Called */
object_info object = {NULL};
}
}
+#if SUPPORT_INTERACTIVE
while (opline<end) {
+#else
+ while (1) {
+#endif
switch(opline->opcode) {
case ZEND_ADD:
EG(binary_op) = add_function;
}
#if SUPPORT_INTERACTIVE
op_array->last_executed_op_number = opline-op_array->opcodes;
-#endif
free_alloca(Ts);
+#else
+ php_error(E_ERROR,"Arrived at end of main loop which shouldn't happen");
+#endif
}