/php-src/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() 442 if (lhs->called_scope != rhs->called_scope) { in zend_closure_compare() 567 *ce_ptr = closure->called_scope; in zend_closure_get_closure() 825 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 | 3658 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class() 3659 fcc->called_scope = scope; in zend_is_callable_check_class() 3677 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope->parent)) { in zend_is_callable_check_class() 3678 fcc->called_scope = scope->parent; in zend_is_callable_check_class() 3690 if (!called_scope) { in zend_is_callable_check_class() 3696 fcc->called_scope = called_scope; in zend_is_callable_check_class() 3697 fcc->calling_scope = called_scope; in zend_is_callable_check_class() 3714 fcc->called_scope = object->ce; in zend_is_callable_check_class() 3716 fcc->called_scope = ce; in zend_is_callable_check_class() 3820 fcc->called_scope = object->ce; in zend_is_callable_check_func() [all …]
|
H A D | zend_execute.c | 1052 if (!called_scope) { in zend_value_instanceof_static() 4662 zend_class_entry *called_scope; in zend_init_dynamic_call_string() local 4677 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string() 4684 if (called_scope->get_static_method) { in zend_init_dynamic_call_string() 4685 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string() 4730 called_scope = NULL; in zend_init_dynamic_call_string() 4734 fbc, num_args, called_scope); in zend_init_dynamic_call_string() 4742 zend_class_entry *called_scope; in zend_init_dynamic_call_object() local 4749 object_or_called_scope = called_scope; in zend_init_dynamic_call_object() 4818 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; 8181 zend_class_entry *called_scope; variable 8185 called_scope = Z_OBJCE(EX(This)); 8193 called_scope = Z_CE(EX(This)); 8198 EX(func)->op_array.scope, called_scope, object); 8735 zend_class_entry *called_scope, *scope; variable 8783 called_scope = Z_OBJCE(EX(This)); [all …]
|
H A D | zend_vm_execute.h | 6981 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() 9501 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() 11888 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CV_HANDLER() 16241 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CONST_HANDLER() 17686 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_TMPVAR_HANDLER() 19046 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CV_HANDLER() 34110 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER() 36165 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER() 38670 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CV_HANDLER() 43661 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER() [all …]
|
H A D | zend_API.h | 62 zend_class_entry *called_scope; member 837 zend_function *fn, zend_object *object, zend_class_entry *called_scope, zval *retval_ptr, 850 …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-src/ext/pdo/ |
H A D | pdo_dbh.c | 222 static bool create_driver_specific_pdo_object(pdo_driver_t *driver, zend_class_entry *called_scope,… in create_driver_specific_pdo_object() argument 230 if (called_scope != pdo_dbh_ce && instanceof_function(called_scope, ce)) { in create_driver_specific_pdo_object() 231 ce_based_on_called_object = called_scope; in create_driver_specific_pdo_object() 242 ZSTR_VAL(called_scope->name), driver->driver_name, ZSTR_VAL(ce_based_on_driver_name->name)); in create_driver_specific_pdo_object() 253 ZSTR_VAL(called_scope->name)); in create_driver_specific_pdo_object() 259 if (called_scope != pdo_dbh_ce) { in create_driver_specific_pdo_object() 264 ZSTR_VAL(called_scope->name), driver->driver_name, ZSTR_VAL(ce_based_on_driver_name->name)); in create_driver_specific_pdo_object() 272 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-src/ext/standard/ |
H A D | basic_functions.c | 1504 zend_class_entry *called_scope; local 1518 called_scope = zend_get_called_scope(execute_data); 1519 if (called_scope && fci_cache.calling_scope && 1520 instanceof_function(called_scope, fci_cache.calling_scope)) { 1521 fci_cache.called_scope = called_scope; 1540 zend_class_entry *called_scope; local 1551 called_scope = zend_get_called_scope(execute_data); 1552 if (called_scope && fci_cache.calling_scope && 1553 instanceof_function(called_scope, fci_cache.calling_scope)) { 1554 fci_cache.called_scope = called_scope;
|
H A D | var_unserializer.re | 275 fci_cache.called_scope = fci.object->ce;
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 1759 zend_class_entry *called_scope; in ZEND_METHOD() local 1763 …&& Z_OBJ_HANDLER(intern->obj, get_closure)(Z_OBJ(intern->obj), &called_scope, &closure_func, &obje… in ZEND_METHOD() 1764 && closure_func && (called_scope || closure_func->common.scope)) { in ZEND_METHOD() 1765 …zend_reflection_class_factory(called_scope ? (zend_class_entry *) called_scope : closure_func->com… in ZEND_METHOD() 2038 fcc.called_scope = NULL; in ZEND_METHOD() 2043 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD() 2077 fcc.called_scope = NULL; in ZEND_METHOD() 2082 Z_OBJ(intern->obj), &fcc.called_scope, &fcc.function_handler, &fcc.object, 0); in ZEND_METHOD()
|
/php-src/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 | 8102 zend_class_entry *called_scope; member 8343 object_or_called_scope = ir_LOAD_A(ir_ADD_OFFSET(func_ref, offsetof(zend_closure, called_scope)));
|
/php-src/ext/xml/ |
H A D | xml.c | 1103 parser_handler_fcc->called_scope = ce; in php_xml_check_string_method_arg()
|