/PHP-8.0/Zend/ |
H A D | zend_closures.h | 35 …, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr… 36 …, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr…
|
H A D | zend_closures.c | 40 zend_class_entry *called_scope; member 178 fci_cache.called_scope = newobj->ce; in ZEND_METHOD() 204 zend_class_entry *ce, *called_scope; in do_closure_bind() local 225 called_scope = Z_OBJCE_P(newthis); in do_closure_bind() 227 called_scope = ce; in do_closure_bind() 230 zend_create_closure(return_value, &closure->func, ce, called_scope, newthis); in do_closure_bind() 291 fcc.called_scope = zend_get_called_scope(EG(current_execute_data)); in ZEND_NAMED_FUNCTION() 521 closure->func.common.scope, closure->called_scope, &closure->this_ptr); in zend_closure_clone() 530 *ce_ptr = closure->called_scope; in zend_closure_get_closure() 769 closure->called_scope = called_scope; in zend_create_closure() [all …]
|
H A D | zend_interfaces.c | 41 zend_class_entry *called_scope; in zend_call_method() local 77 called_scope = object->ce; in zend_call_method() 79 called_scope = obj_ce; in zend_call_method() 82 zend_call_known_function(fn, object, called_scope, retval_ptr, param_count, params, NULL); in zend_call_method()
|
H A D | zend_execute.c | 946 if (!called_scope) { in zend_value_instanceof_static() 4201 zend_class_entry *called_scope; in zend_init_dynamic_call_string() local 4216 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string() 4223 if (called_scope->get_static_method) { in zend_init_dynamic_call_string() 4224 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string() 4269 called_scope = NULL; in zend_init_dynamic_call_string() 4273 fbc, num_args, called_scope); in zend_init_dynamic_call_string() 4281 zend_class_entry *called_scope; in zend_init_dynamic_call_object() local 4288 object_or_called_scope = called_scope; in zend_init_dynamic_call_object() 4357 if (called_scope->get_static_method) { in zend_init_dynamic_call_array() [all …]
|
H A D | zend_API.c | 3031 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class() 3032 fcc->called_scope = scope; in zend_is_callable_check_class() 3047 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope->parent)) { in zend_is_callable_check_class() 3048 fcc->called_scope = scope->parent; in zend_is_callable_check_class() 3060 if (!called_scope) { in zend_is_callable_check_class() 3063 fcc->called_scope = called_scope; in zend_is_callable_check_class() 3064 fcc->calling_scope = called_scope; in zend_is_callable_check_class() 3081 fcc->called_scope = object->ce; in zend_is_callable_check_class() 3083 fcc->called_scope = ce; in zend_is_callable_check_class() 3327 fcc->called_scope = fcc->object->ce; in zend_is_callable_check_func() [all …]
|
H A D | zend_execute_API.c | 735 object_or_called_scope = fci_cache->called_scope; in zend_call_function() 964 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, in zend_call_known_function() argument 983 fcic.called_scope = called_scope; in zend_call_known_function()
|
H A D | zend_builtin_functions.c | 598 zend_class_entry *called_scope; in ZEND_FUNCTION() local 602 called_scope = zend_get_called_scope(execute_data); in ZEND_FUNCTION() 603 if (!called_scope) { in ZEND_FUNCTION() 608 RETURN_STR_COPY(called_scope->name); in ZEND_FUNCTION()
|
H A D | zend_vm_def.h | 3418 zend_class_entry *called_scope; variable 3496 called_scope = obj->ce; 3549 obj = (zend_object*)called_scope; 3796 object_or_called_scope = fcc.called_scope; 7917 zend_class_entry *called_scope; variable 7929 called_scope = Z_OBJCE(EX(This)); 7937 called_scope = Z_CE(EX(This)); 7941 EX(func)->op_array.scope, called_scope, object); 8467 zend_class_entry *called_scope, *scope; variable 8515 called_scope = Z_OBJCE(EX(This)); [all …]
|
H A D | zend_vm_execute.h | 6518 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 8811 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() 11199 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CV_HANDLER() 15544 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CONST_HANDLER() 16967 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_TMPVAR_HANDLER() 18282 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CV_HANDLER() 32721 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER() 34586 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER() 37030 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CV_HANDLER() 41847 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER() [all …]
|
H A D | zend_API.h | 60 zend_class_entry *called_scope; member 582 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr,
|
H A D | zend_compile.c | 1212 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_type_to_string_resolved() local 1213 if (called_scope) { in zend_type_to_string_resolved() 1214 name = called_scope->name; in zend_type_to_string_resolved()
|
/PHP-8.0/ext/standard/ |
H A D | basic_functions.c | 1594 zend_class_entry *called_scope; local 1608 called_scope = zend_get_called_scope(execute_data); 1609 if (called_scope && fci_cache.calling_scope && 1610 instanceof_function(called_scope, fci_cache.calling_scope)) { 1611 fci_cache.called_scope = called_scope; 1629 zend_class_entry *called_scope; local 1639 called_scope = zend_get_called_scope(execute_data); 1640 if (called_scope && fci_cache.calling_scope && 1641 instanceof_function(called_scope, fci_cache.calling_scope)) { 1642 fci_cache.called_scope = called_scope;
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.c | 1646 zend_class_entry *called_scope; in ZEND_METHOD() local 1650 …&& Z_OBJ_HANDLER(intern->obj, get_closure)(Z_OBJ(intern->obj), &called_scope, &closure_func, &obje… in ZEND_METHOD() 1651 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD() 1652 …zend_reflection_class_factory(called_scope ? (zend_class_entry *) called_scope : closure_func->com… in ZEND_METHOD() 1869 fcc.called_scope = NULL; in ZEND_METHOD() 1874 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 1920 fcc.called_scope = NULL; in ZEND_METHOD() 1925 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 3251 fcc.called_scope = intern->ce; in reflection_method_invoke()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 144 zend_class_entry *called_scope = obj->ce; in zend_jit_find_method_helper() local 150 zend_undefined_method(called_scope, Z_STR_P(function_name)); in zend_jit_find_method_helper() 164 CACHE_POLYMORPHIC_PTR(opline->result.num, called_scope, fbc); in zend_jit_find_method_helper()
|
H A D | zend_jit_x86.dasc | 9049 zend_class_entry *called_scope; 9175 | // zend_vm_init_call_frame(call, call_info, func, num_args, called_scope, object); 9230 | // Z_CE(call->This) = called_scope; 9237 | // object_or_called_scope = closure->called_scope; 9238 | mov r1, aword [r0 + offsetof(zend_closure, called_scope)]
|
/PHP-8.0/ext/mysqli/ |
H A D | mysqli.c | 1227 fcc.called_scope = Z_OBJCE_P(return_value); in php_mysqli_fetch_into_hash()
|
/PHP-8.0/ext/pdo/ |
H A D | pdo_dbh.c | 477 fcc.called_scope = Z_OBJCE_P(object); in pdo_stmt_construct()
|
H A D | pdo_stmt.c | 710 fcc->called_scope = ce; in do_fetch_class_prepare()
|
/PHP-8.0/ext/pgsql/ |
H A D | pgsql.c | 1944 fcc.called_scope = Z_OBJCE_P(return_value); in php_pgsql_fetch_hash()
|