Skip to content

Commit

Permalink
Fix namespace switch
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Mar 30, 2003
1 parent 06a0e1c commit bd4cdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -3431,7 +3431,7 @@ int zend_include_or_eval_handler(ZEND_OPCODE_HANDLER_ARGS)

EX(function_state).function = (zend_function *) new_op_array;
EX(object) = NULL;
EG(active_namespace) = EG(global_namespace_ptr);
zend_switch_namespace(EG(global_namespace_ptr));

zend_execute(new_op_array TSRMLS_CC);

Expand Down

0 comments on commit bd4cdab

Please sign in to comment.