/php-src/sapi/phpdbg/ |
H A D | phpdbg_list.c | 195 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 D | phpdbg_frame.c | 59 if (op_array->scope) { in phpdbg_compile_stackframe() 60 smart_str_append(&s, op_array->scope->name); in phpdbg_compile_stackframe()
|
H A D | phpdbg_bp.c | 521 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 D | phpdbg.h | 216 zend_class_entry *scope; member
|
/php-src/Zend/ |
H A D | zend_API.h | 446 …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 D | zend_compile.h | 460 zend_class_entry *scope; member 518 zend_class_entry *scope; member 535 …SCOPE_NAME(function) ((function) && (function)->common.scope ? ZSTR_VAL((function)->common.scope-… 546 zend_class_entry *scope; member 953 zend_string *zend_type_to_string_resolved(zend_type type, zend_class_entry *scope);
|
H A D | zend_execute.h | 205 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 D | zend_enum.c | 267 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 D | zend_ast.h | 304 … 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/tests/classes/ |
H A D | factory_and_singleton_002.phpt | 98 Warning: Call to protected test::__destruct() from global scope during shutdown ignored in Unknown …
|
/php-src/ |
H A D | .gdbinit | 55 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 D | 013_class_scope.phpt | 2 Attributes make use of class scope.
|
/php-src/Zend/tests/ |
H A D | bug37632.phpt | 135 Fatal error: Uncaught Error: Call to protected C4::__construct() from scope B4 in %s:%d
|
H A D | 002.phpt | 120 func_get_arg() cannot be called from the global scope
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionFunction_getClosureCalledClass.phpt | 2 GH-8932 (Provide a way to get the called-scope of closures)
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 468 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 D | zend_persist_calc.c | 214 if (op_array->scope) { in zend_persist_op_array_calc_ex() 222 if (op_array->scope in zend_persist_op_array_calc_ex() 224 && (op_array->scope->ce_flags & ZEND_ACC_CACHED)) { in zend_persist_op_array_calc_ex()
|
/php-src/ext/ffi/ |
H A D | ffi.stub.php | 19 public static function scope(string $name): FFI {} function in FFI
|
H A D | ffi.c | 2405 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() 3399 if (scope && scope->symbols) { in zend_ffi_load() 3423 if (scope && scope->tags && FFI_G(tags)) { in zend_ffi_load() 3446 if (!scope) { in zend_ffi_load() 3474 if (!scope->tags) { in zend_ffi_load() 3567 if (!scope) { in ZEND_METHOD() [all …]
|
/php-src/ext/dom/tests/modern/xml/ |
H A D | xpath_query_context_in_scope_ns.phpt | 2 Test DOM\XPath::query() with registering a context node's in-scope namespaces
|
/php-src/ext/spl/ |
H A D | spl_dllist.c | 364 if (intern->fptr_offset_get->common.scope == parent) { in spl_dllist_object_new_ex() 368 if (intern->fptr_offset_set->common.scope == parent) { in spl_dllist_object_new_ex() 372 if (intern->fptr_offset_has->common.scope == parent) { in spl_dllist_object_new_ex() 376 if (intern->fptr_offset_del->common.scope == parent) { in spl_dllist_object_new_ex() 381 if (intern->fptr_count->common.scope == parent) { in spl_dllist_object_new_ex()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 245 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() 2691 trace_buffer->op_array->scope ? ZSTR_VAL(trace_buffer->op_array->scope->name) : "", in zend_jit_trace_build_tssa() 7694 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_dump_trace() 7717 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_dump_trace() 7752 p->func->common.scope ? ZSTR_VAL(p->func->common.scope->name) : "", in zend_jit_dump_trace() 7901 EX(func)->op_array.scope ? ZSTR_VAL(EX(func)->op_array.scope->name) : "", in zend_jit_trace_hot_root() 7940 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_trace_hot_root() 8252 EX(func)->op_array.scope ? ZSTR_VAL(EX(func)->op_array.scope->name) : "", in zend_jit_trace_hot_side() 8305 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_trace_hot_side() [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_inference.c | 2417 && (!scope || (scope->ce_flags & ZEND_ACC_LINKED))) { in lookup_prop_info() 2419 EG(fake_scope) = scope; in lookup_prop_info() 2431 ((prop_info->ce == scope) || in lookup_prop_info() 2446 ce = op_array->scope; in zend_fetch_prop_info() 2453 op_array->scope); in zend_fetch_prop_info() 2474 ce = op_array->scope; in zend_fetch_static_prop_info() 2477 if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) { in zend_fetch_static_prop_info() 3349 if (op_array->scope) { in _zend_update_type_info() 3356 … if (op_array->scope && op_array->scope->parent && (op_array->scope->ce_flags & ZEND_ACC_LINKED)) { in _zend_update_type_info() 3363 if (op_array->scope && (op_array->scope->ce_flags & ZEND_ACC_FINAL)) { in _zend_update_type_info() [all …]
|
H A D | zend_func_info.c | 103 if (callee_func->common.scope) { in zend_get_internal_func_info()
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | pdo_fetch_func_001.phpt | 134 cannot access "self" when no class scope is active
|