Home
last modified time | relevance | path

Searched refs:called_scope (Results 1 – 22 of 22) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_closures.h35 …, 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 Dzend_closures.c39 zend_class_entry *called_scope; member
175 fci_cache.called_scope = newobj->ce; in ZEND_METHOD()
206 zend_class_entry *ce, *called_scope; in ZEND_METHOD() local
240 called_scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
242 called_scope = ce; in ZEND_METHOD()
245 zend_create_closure(return_value, &closure->func, ce, called_scope, newthis); in ZEND_METHOD()
273 fcc.called_scope = zend_get_called_scope(EG(current_execute_data)); in ZEND_NAMED_FUNCTION()
509 closure->func.common.scope, closure->called_scope, &closure->this_ptr); in zend_closure_clone()
518 *ce_ptr = closure->called_scope; in zend_closure_get_closure()
770 closure->called_scope = called_scope; in zend_create_closure()
[all …]
H A Dzend_interfaces.c90 fcic.called_scope = Z_OBJCE_P(object); in zend_call_method()
92 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_call_method() local
95 (!called_scope || in zend_call_method()
96 !instanceof_function(called_scope, obj_ce))) { in zend_call_method()
97 fcic.called_scope = obj_ce; in zend_call_method()
99 fcic.called_scope = called_scope; in zend_call_method()
H A Dzend_objects.c176 fcic.called_scope = object->ce; in zend_objects_destroy_object()
284 fcic.called_scope = new_object->ce; in zend_objects_clone_members()
H A Dzend_execute.c4034 zend_class_entry *called_scope; in zend_init_dynamic_call_string() local
4049 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string()
4056 if (called_scope->get_static_method) { in zend_init_dynamic_call_string()
4057 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string()
4100 called_scope = NULL; in zend_init_dynamic_call_string()
4104 fbc, num_args, called_scope); in zend_init_dynamic_call_string()
4112 zend_class_entry *called_scope; in zend_init_dynamic_call_object() local
4182 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_array()
4186 if (called_scope->get_static_method) { in zend_init_dynamic_call_array()
4187 fbc = called_scope->get_static_method(called_scope, Z_STR_P(method)); in zend_init_dynamic_call_array()
[all …]
H A Dzend_API.c2925 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope)) { in zend_is_callable_check_class()
2926 fcc->called_scope = scope; in zend_is_callable_check_class()
2941 if (!fcc->called_scope || !instanceof_function(fcc->called_scope, scope->parent)) { in zend_is_callable_check_class()
2942 fcc->called_scope = scope->parent; in zend_is_callable_check_class()
2954 if (!called_scope) { in zend_is_callable_check_class()
2957 fcc->called_scope = called_scope; in zend_is_callable_check_class()
2958 fcc->calling_scope = called_scope; in zend_is_callable_check_class()
2981 fcc->called_scope = object->ce; in zend_is_callable_check_class()
2983 fcc->called_scope = ce; in zend_is_callable_check_class()
3253 fcc->called_scope = fcc->object->ce; in zend_is_callable_check_func()
[all …]
H A Dzend_object_handlers.c209 fcic.called_scope = ce; in zend_std_call_getter()
246 fcic.called_scope = ce; in zend_std_call_setter()
282 fcic.called_scope = ce; in zend_std_call_unsetter()
319 fcic.called_scope = ce; in zend_std_call_issetter()
H A Dzend_builtin_functions.c982 zend_class_entry *called_scope; in ZEND_FUNCTION() local
988 called_scope = zend_get_called_scope(execute_data); in ZEND_FUNCTION()
989 if (called_scope) { in ZEND_FUNCTION()
990 RETURN_STR_COPY(called_scope->name); in ZEND_FUNCTION()
H A Dzend_vm_def.h3476 zend_class_entry *called_scope; variable
3545 called_scope = obj->ce;
3594 obj = (zend_object*)called_scope;
3864 object_or_called_scope = fcc.called_scope;
7642 zend_class_entry *called_scope; variable
7654 called_scope = Z_OBJCE(EX(This));
7662 called_scope = Z_CE(EX(This));
7666 EX(func)->op_array.scope, called_scope, object);
8222 zend_class_entry *called_scope, *scope; variable
8253 called_scope = Z_OBJCE(EX(This));
[all …]
H A Dzend_execute_API.c731 object_or_called_scope = fci_cache->called_scope; in zend_call_function()
996 fcall_cache.called_scope = NULL; in zend_lookup_class_ex()
H A Dzend_vm_execute.h5793 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
8064 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER()
10525 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CV_HANDLER()
14845 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CONST_HANDLER()
16269 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_TMPVAR_HANDLER()
17563 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_TMPVAR_CV_HANDLER()
31721 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CONST_HANDLER()
33514 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_TMPVAR_HANDLER()
35991 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_UNUSED_CV_HANDLER()
40891 called_scope = obj->ce; in ZEND_INIT_METHOD_CALL_SPEC_CV_CONST_HANDLER()
[all …]
H A Dzend_API.h55 zend_class_entry *called_scope; member
/PHP-7.4/ext/spl/
H A Dspl_engine.h71 fcc.called_scope = pce; in spl_instantiate_arg_n()
H A Dphp_spl.c411 zend_class_entry *called_scope = zend_get_called_scope(execute_data); in PHP_FUNCTION() local
440 (!called_scope || in PHP_FUNCTION()
441 !instanceof_function(called_scope, alfi->ce))) { in PHP_FUNCTION()
442 fcic.called_scope = alfi->ce; in PHP_FUNCTION()
444 fcic.called_scope = called_scope; in PHP_FUNCTION()
449 fcic.called_scope = Z_OBJCE(alfi->obj); in PHP_FUNCTION()
483 fcall_cache.called_scope = NULL; in PHP_FUNCTION()
H A Dspl_directory.c2102 fcic.called_scope = NULL; in spl_filesystem_file_call()
/PHP-7.4/ext/standard/
H A Dbasic_functions.c4979 zend_class_entry *called_scope; local
4993 called_scope = zend_get_called_scope(execute_data);
4994 if (called_scope && fci_cache.calling_scope &&
4995 instanceof_function(called_scope, fci_cache.calling_scope)) {
4996 fci_cache.called_scope = called_scope;
5015 zend_class_entry *called_scope; local
5025 called_scope = zend_get_called_scope(execute_data);
5026 if (called_scope && fci_cache.calling_scope &&
5027 instanceof_function(called_scope, fci_cache.calling_scope)) {
5028 fci_cache.called_scope = called_scope;
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c1356 fcc.called_scope = Z_OBJCE(reflector); in _reflection_export()
1837 fcc.called_scope = NULL; in ZEND_METHOD()
1842 &intern->obj, &fcc.called_scope, &fcc.function_handler, &fcc.object); in ZEND_METHOD()
1900 fcc.called_scope = NULL; in ZEND_METHOD()
1905 &intern->obj, &fcc.called_scope, &fcc.function_handler, &fcc.object); in ZEND_METHOD()
3158 fcc.called_scope = intern->ce; in reflection_method_invoke()
4717 fcc.called_scope = Z_OBJCE_P(return_value); in ZEND_METHOD()
4819 fcc.called_scope = Z_OBJCE_P(return_value); in ZEND_METHOD()
/PHP-7.4/main/streams/
H A Duserspace.c316 fcc.called_scope = Z_OBJCE_P(object); in user_stream_create_object()
/PHP-7.4/ext/pdo/
H A Dpdo_dbh.c473 fcc.called_scope = Z_OBJCE_P(object); in pdo_stmt_construct()
H A Dpdo_stmt.c746 fcc->called_scope = ce; in do_fetch_class_prepare()
/PHP-7.4/ext/mysqli/
H A Dmysqli.c1310 fcc.called_scope = Z_OBJCE_P(return_value); in php_mysqli_fetch_into_hash()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c2851 fcc.called_scope = Z_OBJCE_P(return_value);

Completed in 289 milliseconds