/PHP-8.2/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 149 fci_cache.called_scope = newclass; in ZEND_METHOD() 176 fake_closure->called_scope = NULL; in ZEND_METHOD() 223 zend_class_entry *ce, *called_scope; in do_closure_bind() local 244 called_scope = Z_OBJCE_P(newthis); in do_closure_bind() 246 called_scope = ce; in do_closure_bind() 321 fcc.called_scope = zend_get_called_scope(EG(current_execute_data)); in ZEND_NAMED_FUNCTION() 441 if (lhs->called_scope != rhs->called_scope) { in zend_closure_compare() 565 *ce_ptr = closure->called_scope; in zend_closure_get_closure() 814 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 | 3626 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class() 3627 fcc->called_scope = scope; in zend_is_callable_check_class() 3645 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope->parent)) { in zend_is_callable_check_class() 3646 fcc->called_scope = scope->parent; in zend_is_callable_check_class() 3658 if (!called_scope) { in zend_is_callable_check_class() 3664 fcc->called_scope = called_scope; in zend_is_callable_check_class() 3665 fcc->calling_scope = called_scope; in zend_is_callable_check_class() 3682 fcc->called_scope = object->ce; in zend_is_callable_check_class() 3684 fcc->called_scope = ce; in zend_is_callable_check_class() 3788 fcc->called_scope = object->ce; in zend_is_callable_check_func() [all …]
|
H A D | zend_execute.c | 1051 if (!called_scope) { in zend_value_instanceof_static() 4661 zend_class_entry *called_scope; in zend_init_dynamic_call_string() local 4676 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string() 4683 if (called_scope->get_static_method) { in zend_init_dynamic_call_string() 4684 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string() 4729 called_scope = NULL; in zend_init_dynamic_call_string() 4733 fbc, num_args, called_scope); in zend_init_dynamic_call_string() 4741 zend_class_entry *called_scope; in zend_init_dynamic_call_object() local 4748 object_or_called_scope = called_scope; in zend_init_dynamic_call_object() 4817 if (called_scope->get_static_method) { in zend_init_dynamic_call_array() [all …]
|
H A D | zend_builtin_functions.c | 582 zend_class_entry *called_scope; in ZEND_FUNCTION() local 586 called_scope = zend_get_called_scope(execute_data); in ZEND_FUNCTION() 587 if (!called_scope) { in ZEND_FUNCTION() 592 RETURN_STR_COPY(called_scope->name); in ZEND_FUNCTION()
|
H A D | zend_execute_API.c | 818 object_or_called_scope = fci_cache->called_scope; in zend_call_function() 1044 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, in zend_call_known_function() argument 1063 fcic.called_scope = called_scope; in zend_call_known_function()
|
H A D | zend_vm_def.h | 3475 zend_class_entry *called_scope; variable 3553 called_scope = obj->ce; 3606 obj = (zend_object*)called_scope; 3854 object_or_called_scope = fcc.called_scope; 8163 zend_class_entry *called_scope; variable 8167 called_scope = Z_OBJCE(EX(This)); 8175 called_scope = Z_CE(EX(This)); 8180 EX(func)->op_array.scope, called_scope, object); 8717 zend_class_entry *called_scope, *scope; variable 8765 called_scope = Z_OBJCE(EX(This)); [all …]
|
H A D | zend_vm_execute.h | 6963 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 9483 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() 11870 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CV_HANDLER() 16223 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CONST_HANDLER() 17668 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_TMPVAR_HANDLER() 19028 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CV_HANDLER() 34092 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER() 36147 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER() 38652 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CV_HANDLER() 43643 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER() [all …]
|
H A D | zend_API.h | 61 zend_class_entry *called_scope; member 835 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, 848 …zend_call_known_function(func, fcc->object, fcc->called_scope, retval_ptr, param_count, params, na… in zend_call_known_fcc()
|
H A D | zend_compile.c | 1412 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_type_to_string_resolved() local 1413 if (called_scope) { in zend_type_to_string_resolved() 1414 name = called_scope->name; in zend_type_to_string_resolved()
|
/PHP-8.2/ext/pdo/ |
H A D | pdo_dbh.c | 224 static bool create_driver_specific_pdo_object(pdo_driver_t *driver, zend_class_entry *called_scope,… in create_driver_specific_pdo_object() argument 232 if (called_scope != pdo_dbh_ce && instanceof_function(called_scope, ce)) { in create_driver_specific_pdo_object() 233 ce_based_on_called_object = called_scope; in create_driver_specific_pdo_object() 244 ZSTR_VAL(called_scope->name), driver->driver_name, ZSTR_VAL(ce_based_on_driver_name->name)); in create_driver_specific_pdo_object() 255 ZSTR_VAL(called_scope->name)); in create_driver_specific_pdo_object() 261 if (called_scope != pdo_dbh_ce) { in create_driver_specific_pdo_object() 266 ZSTR_VAL(called_scope->name), driver->driver_name, ZSTR_VAL(ce_based_on_driver_name->name)); in create_driver_specific_pdo_object() 274 object_init_ex(new_object, called_scope); in create_driver_specific_pdo_object()
|
H A D | pdo_stmt.c | 640 fcc->called_scope = ce; in do_fetch_class_prepare()
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.c | 1522 zend_class_entry *called_scope; local 1536 called_scope = zend_get_called_scope(execute_data); 1537 if (called_scope && fci_cache.calling_scope && 1538 instanceof_function(called_scope, fci_cache.calling_scope)) { 1539 fci_cache.called_scope = called_scope; 1558 zend_class_entry *called_scope; local 1569 called_scope = zend_get_called_scope(execute_data); 1570 if (called_scope && fci_cache.calling_scope && 1571 instanceof_function(called_scope, fci_cache.calling_scope)) { 1572 fci_cache.called_scope = called_scope;
|
H A D | var_unserializer.re | 275 fci_cache.called_scope = fci.object->ce;
|
/PHP-8.2/ext/reflection/ |
H A D | php_reflection.c | 1721 zend_class_entry *called_scope; in ZEND_METHOD() local 1725 …&& Z_OBJ_HANDLER(intern->obj, get_closure)(Z_OBJ(intern->obj), &called_scope, &closure_func, &obje… in ZEND_METHOD() 1726 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD() 1727 …zend_reflection_class_factory(called_scope ? (zend_class_entry *) called_scope : closure_func->com… in ZEND_METHOD() 1993 fcc.called_scope = NULL; in ZEND_METHOD() 1998 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 2032 fcc.called_scope = NULL; in ZEND_METHOD() 2037 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD()
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 148 zend_class_entry *called_scope = obj->ce; in zend_jit_find_method_helper() local 154 zend_undefined_method(called_scope, Z_STR_P(function_name)); in zend_jit_find_method_helper() 168 CACHE_POLYMORPHIC_PTR(opline->result.num, called_scope, fbc); in zend_jit_find_method_helper()
|
H A D | zend_jit_ir.c | 8109 zend_class_entry *called_scope; member 8350 object_or_called_scope = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, called_scope)));
|
/PHP-8.2/ext/xml/ |
H A D | xml.c | 1103 parser_handler_fcc->called_scope = ce; in php_xml_check_string_method_arg()
|