/PHP-8.1/Zend/ |
H A D | zend_closures.h | 36 …, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr… 37 …, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr…
|
H A D | zend_closures.c | 35 zend_class_entry *called_scope; member 175 fci_cache.called_scope = newclass; in ZEND_METHOD() 201 zend_class_entry *ce, *called_scope; in do_closure_bind() local 222 called_scope = Z_OBJCE_P(newthis); in do_closure_bind() 224 called_scope = ce; in do_closure_bind() 288 fcc.called_scope = zend_get_called_scope(EG(current_execute_data)); in ZEND_NAMED_FUNCTION() 408 if (lhs->called_scope != rhs->called_scope) { in zend_closure_compare() 522 closure->func.common.scope, closure->called_scope, &closure->this_ptr); in zend_closure_clone() 532 *ce_ptr = closure->called_scope; in zend_closure_get_closure() 769 closure->called_scope = called_scope; in zend_create_closure_ex() [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_API.c | 3379 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class() 3380 fcc->called_scope = scope; in zend_is_callable_check_class() 3395 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope->parent)) { in zend_is_callable_check_class() 3396 fcc->called_scope = scope->parent; in zend_is_callable_check_class() 3408 if (!called_scope) { in zend_is_callable_check_class() 3411 fcc->called_scope = called_scope; in zend_is_callable_check_class() 3412 fcc->calling_scope = called_scope; in zend_is_callable_check_class() 3429 fcc->called_scope = object->ce; in zend_is_callable_check_class() 3431 fcc->called_scope = ce; in zend_is_callable_check_class() 3535 fcc->called_scope = object->ce; in zend_is_callable_check_func() [all …]
|
H A D | zend_execute.c | 969 if (!called_scope) { in zend_value_instanceof_static() 4560 zend_class_entry *called_scope; in zend_init_dynamic_call_string() local 4575 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string() 4582 if (called_scope->get_static_method) { in zend_init_dynamic_call_string() 4583 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string() 4628 called_scope = NULL; in zend_init_dynamic_call_string() 4632 fbc, num_args, called_scope); in zend_init_dynamic_call_string() 4640 zend_class_entry *called_scope; in zend_init_dynamic_call_object() local 4647 object_or_called_scope = called_scope; in zend_init_dynamic_call_object() 4716 if (called_scope->get_static_method) { in zend_init_dynamic_call_array() [all …]
|
H A D | zend_builtin_functions.c | 562 zend_class_entry *called_scope; in ZEND_FUNCTION() local 566 called_scope = zend_get_called_scope(execute_data); in ZEND_FUNCTION() 567 if (!called_scope) { in ZEND_FUNCTION() 572 RETURN_STR_COPY(called_scope->name); in ZEND_FUNCTION()
|
H A D | zend_execute_API.c | 778 object_or_called_scope = fci_cache->called_scope; in zend_call_function() 999 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, in zend_call_known_function() argument 1018 fcic.called_scope = called_scope; in zend_call_known_function()
|
H A D | zend_vm_def.h | 3444 zend_class_entry *called_scope; variable 3522 called_scope = obj->ce; 3575 obj = (zend_object*)called_scope; 3823 object_or_called_scope = fcc.called_scope; 7997 zend_class_entry *called_scope; variable 8001 called_scope = Z_OBJCE(EX(This)); 8009 called_scope = Z_CE(EX(This)); 8014 EX(func)->op_array.scope, called_scope, object); 8552 zend_class_entry *called_scope, *scope; variable 8600 called_scope = Z_OBJCE(EX(This)); [all …]
|
H A D | zend_vm_execute.h | 6719 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 9042 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() 11407 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CV_HANDLER() 15766 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CONST_HANDLER() 17195 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_TMPVAR_HANDLER() 18519 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CV_HANDLER() 33109 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER() 34963 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER() 37433 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CV_HANDLER() 42312 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 662 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr,
|
H A D | zend_compile.c | 1232 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_type_to_string_resolved() local 1233 if (called_scope) { in zend_type_to_string_resolved() 1234 name = called_scope->name; in zend_type_to_string_resolved()
|
/PHP-8.1/ext/standard/ |
H A D | basic_functions.c | 1601 zend_class_entry *called_scope; local 1615 called_scope = zend_get_called_scope(execute_data); 1616 if (called_scope && fci_cache.calling_scope && 1617 instanceof_function(called_scope, fci_cache.calling_scope)) { 1618 fci_cache.called_scope = called_scope; 1636 zend_class_entry *called_scope; local 1646 called_scope = zend_get_called_scope(execute_data); 1647 if (called_scope && fci_cache.calling_scope && 1648 instanceof_function(called_scope, fci_cache.calling_scope)) { 1649 fci_cache.called_scope = called_scope;
|
H A D | var.c | 784 fci_cache.called_scope = obj->ce; in php_var_serialize_call_sleep()
|
H A D | var_unserializer.re | 275 fci_cache.called_scope = fci.object->ce;
|
/PHP-8.1/ext/reflection/ |
H A D | php_reflection.c | 1710 zend_class_entry *called_scope; in ZEND_METHOD() local 1714 …&& Z_OBJ_HANDLER(intern->obj, get_closure)(Z_OBJ(intern->obj), &called_scope, &closure_func, &obje… in ZEND_METHOD() 1715 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD() 1716 …zend_reflection_class_factory(called_scope ? (zend_class_entry *) called_scope : closure_func->com… in ZEND_METHOD() 1984 fcc.called_scope = NULL; in ZEND_METHOD() 1989 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 2035 fcc.called_scope = NULL; in ZEND_METHOD() 2040 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 3385 fcc.called_scope = intern->ce; in reflection_method_invoke()
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 150 zend_class_entry *called_scope = obj->ce; in zend_jit_find_method_helper() local 156 zend_undefined_method(called_scope, Z_STR_P(function_name)); in zend_jit_find_method_helper() 170 CACHE_POLYMORPHIC_PTR(opline->result.num, called_scope, fbc); in zend_jit_find_method_helper()
|
H A D | zend_jit_x86.dasc | 9142 zend_class_entry *called_scope; 9272 | // zend_vm_init_call_frame(call, call_info, func, num_args, called_scope, object); 9327 | // Z_CE(call->This) = called_scope; 9334 | // object_or_called_scope = closure->called_scope; 9335 | mov r1, aword [r0 + offsetof(zend_closure, called_scope)]
|
H A D | zend_jit_arm64.dasc | 8520 zend_class_entry *called_scope; 8652 | // zend_vm_init_call_frame(call, call_info, func, num_args, called_scope, object); 8703 | // Z_CE(call->This) = called_scope; 8710 | // object_or_called_scope = closure->called_scope; 8711 | ldr REG1, [REG0, #offsetof(zend_closure, called_scope)]
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli.c | 1184 fcc.called_scope = Z_OBJCE_P(return_value); in php_mysqli_fetch_into_hash()
|
/PHP-8.1/ext/pdo/ |
H A D | pdo_dbh.c | 481 fcc.called_scope = Z_OBJCE_P(object); in pdo_stmt_construct()
|
H A D | pdo_stmt.c | 641 fcc->called_scope = ce; in do_fetch_class_prepare()
|
/PHP-8.1/ext/pgsql/ |
H A D | pgsql.c | 1966 fcc.called_scope = Z_OBJCE_P(return_value); in php_pgsql_fetch_hash()
|