Home
last modified time | relevance | path

Searched refs:scope (Results 176 – 200 of 239) sorted by relevance

12345678910

/php-src/Zend/
H A Dzend_execute.c679 if (zf->common.scope) { in zend_verify_type_error_common()
974 return value_ce == scope; in zend_check_and_resolve_property_or_class_constant_class_type()
1299 fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", in zend_internal_call_arginfo_violation()
1300 fbc->common.scope ? "::" : "", in zend_internal_call_arginfo_violation()
1373 EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : "", in zend_missing_arg_error()
1383 EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : "", in zend_missing_arg_error()
1439 if (zf->common.scope) { in zend_verify_void_return_error()
1771 if (fbc->common.scope) { in zend_deprecated_function()
2325 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_param_must_be_ref()
2326 func->common.scope ? "::" : "", in zend_param_must_be_ref()
[all …]
H A Dzend_API.h446 …nd_update_class_constant(zend_class_constant *c, const zend_string *name, zend_class_entry *scope);
494 ZEND_API void zend_update_property_ex(zend_class_entry *scope, zend_object *object, zend_string *na…
496 ZEND_API void zend_update_property_null(zend_class_entry *scope, zend_object *object, const char *n…
503 ZEND_API void zend_unset_property(zend_class_entry *scope, zend_object *object, const char *name, s…
505 ZEND_API zend_result zend_update_static_property_ex(zend_class_entry *scope, zend_string *name, zva…
506 ZEND_API zend_result zend_update_static_property(zend_class_entry *scope, const char *name, size_t …
507 ZEND_API zend_result zend_update_static_property_null(zend_class_entry *scope, const char *name, si…
514 ZEND_API zval *zend_read_property_ex(zend_class_entry *scope, zend_object *object, zend_string *nam…
517 ZEND_API zval *zend_read_static_property_ex(zend_class_entry *scope, zend_string *name, bool silent…
518 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_len…
[all …]
H A Dzend_compile.h462 zend_class_entry *scope; member
520 zend_class_entry *scope; member
537 …SCOPE_NAME(function) ((function) && (function)->common.scope ? ZSTR_VAL((function)->common.scope-…
548 zend_class_entry *scope; member
955 zend_string *zend_type_to_string_resolved(zend_type type, zend_class_entry *scope);
H A Dzend_execute.h205 ZEND_API zend_result ZEND_FASTCALL zval_update_constant_ex(zval *pp, zend_class_entry *scope);
206 ZEND_API zend_result ZEND_FASTCALL zval_update_constant_with_ctx(zval *pp, zend_class_entry *scope,…
256 ZEND_ASSERT(!func->common.scope || object_or_called_scope); in zend_vm_init_call_frame()
400 …zend_fetch_class_with_scope(zend_string *class_name, uint32_t fetch_type, zend_class_entry *scope);
H A Dzend_enum.c267 zend_class_entry *ce = execute_data->func->common.scope; in ZEND_NAMED_FUNCTION()
345 zend_class_entry *ce = execute_data->func->common.scope; in zend_enum_from_base()
419 zif->scope = ce; in zend_enum_register_func()
H A Dzend_ast.h304 … zend_result ZEND_FASTCALL zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry *scope);
305 …TCALL zend_ast_evaluate_ex(zval *result, zend_ast *ast, zend_class_entry *scope, bool *short_circu…
/php-src/sapi/phpdbg/
H A Dphpdbg_list.c195 zend_class_entry *scope = zend_get_executed_scope(); in phpdbg_list_function_byname() local
196 if (scope) { in phpdbg_list_function_byname()
200 func_table = &scope->function_table; in phpdbg_list_function_byname()
H A Dphpdbg_frame.c59 if (op_array->scope) { in phpdbg_compile_stackframe()
60 smart_str_append(&s, op_array->scope->name); in phpdbg_compile_stackframe()
H A Dphpdbg_bp.c521 if (op_array->scope) { in phpdbg_resolve_op_array_break()
542 …if (op_array->scope != NULL && !(func_table = zend_hash_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD… in phpdbg_resolve_op_array_breaks()
592 …if (op_array->function_name == NULL && op_array->scope == NULL && new_break->class_len == ZSTR_LEN… in phpdbg_resolve_opline_break()
965 if (ops->scope) { in phpdbg_find_breakpoint_symbol()
987 zend_string *class_lcname = zend_string_tolower(ops->scope->name); in phpdbg_find_breakpoint_method()
1070 if (ops->scope) { in phpdbg_find_breakpoint_param()
1071 size_t lengths[2] = { strlen(param->method.class), ZSTR_LEN(ops->scope->name) }; in phpdbg_find_breakpoint_param()
1072 …if (lengths[0] == lengths[1] && memcmp(param->method.class, ops->scope->name, lengths[0]) == SUCCE… in phpdbg_find_breakpoint_param()
H A Dphpdbg.h216 zend_class_entry *scope; member
/php-src/tests/classes/
H A Dfactory_and_singleton_002.phpt98 Warning: Call to protected test::__destruct() from global scope during shutdown ignored in Unknown …
/php-src/
H A D.gdbinit55 variables of that scope. If no parameter is used it will use
56 current_execute_data for scope.
68 if $func->common.scope
69 printf "%s->", (char*)$func->common.scope->name->val
74 if $func->common.scope
75 printf "%s::", (char*)$func->common.scope->name->val
/php-src/Zend/tests/attributes/
H A D013_class_scope.phpt2 Attributes make use of class scope.
H A D005_objects.phpt101 string(51) "Call to private A3::__construct() from global scope"
/php-src/Zend/tests/
H A Dbug37632.phpt135 Fatal error: Uncaught Error: Call to protected C4::__construct() from scope B4 in %s:%d
H A D002.phpt120 func_get_arg() cannot be called from the global scope
/php-src/ext/reflection/tests/
H A DReflectionFunction_getClosureCalledClass.phpt2 GH-8932 (Provide a way to get the called-scope of closures)
/php-src/ext/opcache/
H A Dzend_file_cache.c468 ZEND_ASSERT(op_array->scope && "Only method op_arrays should be shared");
472 if (op_array->scope) {
483 SERIALIZE_PTR(op_array->scope);
634 SERIALIZE_PTR(op_array->scope);
1284 zend_type *type, zend_class_entry *scope, zend_persistent_script *script, void *buf) argument
1293 zend_file_cache_unserialize_type(list_type, scope, script, buf);
1330 ZEND_ASSERT(op_array->scope && "Only method op_arrays should be shared");
1344 UNSERIALIZE_PTR(op_array->scope);
1432 UNSERIALIZE_PTR(op_array->scope);
1449 …lize_type(&p->type, (op_array->fn_flags & ZEND_ACC_CLOSURE) ? NULL : op_array->scope, script, buf);
H A Dzend_persist_calc.c215 if (op_array->scope) { in zend_persist_op_array_calc_ex()
223 if (op_array->scope in zend_persist_op_array_calc_ex()
225 && (op_array->scope->ce_flags & ZEND_ACC_CACHED)) { in zend_persist_op_array_calc_ex()
/php-src/ext/dom/tests/modern/xml/
H A Dxpath_query_context_in_scope_ns.phpt2 Test Dom\XPath::query() with registering a context node's in-scope namespaces
/php-src/ext/ffi/
H A Dffi.stub.php16 public static function scope(string $name): FFI {} function in FFI
H A Dffi.c2405 if (scope->symbols) { in zend_ffi_scope_hash_dtor()
2407 free(scope->symbols); in zend_ffi_scope_hash_dtor()
2409 if (scope->tags) { in zend_ffi_scope_hash_dtor()
2411 free(scope->tags); in zend_ffi_scope_hash_dtor()
2413 free(scope); in zend_ffi_scope_hash_dtor()
3403 if (scope && scope->symbols) { in zend_ffi_load()
3427 if (scope && scope->tags && FFI_G(tags)) { in zend_ffi_load()
3450 if (!scope) { in zend_ffi_load()
3478 if (!scope->tags) { in zend_ffi_load()
3571 if (!scope) { in ZEND_METHOD()
[all …]
/php-src/ext/spl/
H A Dspl_dllist.c361 if (intern->fptr_offset_get->common.scope == parent) { in spl_dllist_object_new_ex()
365 if (intern->fptr_offset_set->common.scope == parent) { in spl_dllist_object_new_ex()
369 if (intern->fptr_offset_has->common.scope == parent) { in spl_dllist_object_new_ex()
373 if (intern->fptr_offset_del->common.scope == parent) { in spl_dllist_object_new_ex()
378 if (intern->fptr_count->common.scope == parent) { in spl_dllist_object_new_ex()
/php-src/ext/opcache/jit/
H A Dzend_jit_trace.c245 if (op_array->scope) { in zend_jit_trace_name()
246 smart_str_appendl(&buf, ZSTR_VAL(op_array->scope->name), ZSTR_LEN(op_array->scope->name)); in zend_jit_trace_name()
2692 trace_buffer->op_array->scope ? ZSTR_VAL(trace_buffer->op_array->scope->name) : "", in zend_jit_trace_build_tssa()
7769 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_dump_trace()
7792 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_dump_trace()
7827 p->func->common.scope ? ZSTR_VAL(p->func->common.scope->name) : "", in zend_jit_dump_trace()
7976 EX(func)->op_array.scope ? ZSTR_VAL(EX(func)->op_array.scope->name) : "", in zend_jit_trace_hot_root()
8015 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_trace_hot_root()
8327 EX(func)->op_array.scope ? ZSTR_VAL(EX(func)->op_array.scope->name) : "", in zend_jit_trace_hot_side()
8380 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_trace_hot_side()
[all …]
/php-src/Zend/Optimizer/
H A Dzend_inference.c2407 && (!scope || (scope->ce_flags & ZEND_ACC_LINKED))) { in lookup_prop_info()
2409 EG(fake_scope) = scope; in lookup_prop_info()
2421 ((prop_info->ce == scope) || in lookup_prop_info()
2436 ce = op_array->scope; in zend_fetch_prop_info()
2443 op_array->scope); in zend_fetch_prop_info()
2464 ce = op_array->scope; in zend_fetch_static_prop_info()
2467 if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) { in zend_fetch_static_prop_info()
3339 if (op_array->scope) { in _zend_update_type_info()
3346 … if (op_array->scope && op_array->scope->parent && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) { in _zend_update_type_info()
3353 if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_FINAL)) { in _zend_update_type_info()
[all …]

Completed in 191 milliseconds

12345678910