mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-28 11:25:44 +00:00
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
This commit is contained in:
commit
66dead5239
2 files changed
+2
-2
No files matched your search
@@ -932,7 +932,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
|
||||
EG(opline_ptr) = original_opline_ptr;
|
||||
} else if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION) {
|
||||
int call_via_handler = (EX(function_state).function->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) != 0;
|
||||
//??? ALLOC_INIT_ZVAL(*fci->retval_ptr_ptr);
|
||||
ZVAL_NULL(fci->retval);
|
||||
if (EX(function_state).function->common.scope) {
|
||||
EG(scope) = EX(function_state).function->common.scope;
|
||||
}
|
||||
|
||||
+1
-1
@@ -495,7 +495,7 @@ PHPAPI php_output_handler *php_output_handler_create_user(zval *output_handler,
|
||||
user = ecalloc(1, sizeof(php_output_handler_user_func_t));
|
||||
if (SUCCESS == zend_fcall_info_init(output_handler, 0, &user->fci, &user->fcc, &handler_name, &error TSRMLS_CC)) {
|
||||
handler = php_output_handler_init(handler_name->val, handler_name->len, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_USER TSRMLS_CC);
|
||||
Z_ADDREF_P(output_handler);
|
||||
if (Z_REFCOUNTED_P(output_handler)) Z_ADDREF_P(output_handler);
|
||||
user->zoh = output_handler;
|
||||
handler->func.user = user;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user