use the delivered global arg instead of fetching it

This commit is contained in:
Anatol Belski 2017-02-21 12:12:42 +01:00
parent 298b62af47
commit b59f3cf167

View File

@ -623,7 +623,7 @@ static void executor_globals_ctor(zend_executor_globals *executor_globals) /* {{
ZEND_TSRMLS_CACHE_UPDATE();
zend_startup_constants();
zend_copy_constants(EG(zend_constants), GLOBAL_CONSTANTS_TABLE);
zend_copy_constants(executor_globals->zend_constants, GLOBAL_CONSTANTS_TABLE);
zend_init_rsrc_plist();
zend_init_exception_op();
zend_init_call_trampoline_op();