/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 4167 zend_class_entry *scope = op_array->scope; local 4173 op_array->scope = scope;
|
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.c | 405 if (op_array->scope) { in zend_persist_op_array_ex() 406 zend_class_entry *scope = zend_shared_alloc_get_xlat_entry(op_array->scope); in zend_persist_op_array_ex() local 408 if (scope) { in zend_persist_op_array_ex() 409 op_array->scope = scope; in zend_persist_op_array_ex() 484 if (op_array->scope in zend_persist_op_array_ex() 486 && (op_array->scope->ce_flags & ZEND_ACC_CACHED)) { in zend_persist_op_array_ex() 719 if (op_array->scope) { in zend_persist_class_method() 723 op_array->scope = (zend_class_entry*)persist_ptr; in zend_persist_class_method() 733 … if (!op_array->scope || (op_array->scope == ce && !(op_array->fn_flags & ZEND_ACC_TRAIT_CLONE))) { in zend_persist_class_method() 1259 if (op_array->scope == ce in zend_accel_persist_class_table() [all …]
|
H A D | zend_persist_calc.c | 215 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/opcache/jit/ |
H A D | zend_jit.c | 608 if (ce == op_array->scope) { in zend_get_known_property_info() 728 if (op_array->scope) { in zend_jit_func_name() 729 smart_str_appendl(&buf, ZSTR_VAL(op_array->scope->name), ZSTR_LEN(op_array->scope->name)); in zend_jit_func_name() 1288 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit() 1289 op_array->scope ? "::" : "", in zend_jit() 1744 ce = op_array->scope; in zend_jit() 1795 ce = op_array->scope; in zend_jit() 1839 ce = op_array->scope; in zend_jit() 2316 ce = op_array->scope; in zend_jit() 2470 ce = op_array->scope; in zend_jit()
|
H A D | zend_jit_helpers.c | 194 zend_class_entry *scope = obj->ce; in zend_jit_push_static_metod_call_frame() local 196 return zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, fbc, num_args, scope); in zend_jit_push_static_metod_call_frame() 201 zend_class_entry *scope = obj->ce; in zend_jit_push_static_metod_call_frame_tmp() local 210 return zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, fbc, num_args, scope); in zend_jit_push_static_metod_call_frame_tmp()
|
H A D | zend_jit_internal.h | 684 if (func->op_array.filename == called_from->filename && !func->op_array.scope) { in zend_jit_may_be_modified()
|
H A D | zend_jit_ir.c | 10397 ir_LOAD_A(ir_ADD_OFFSET(ir_LOAD_A(jit_EX(func)), offsetof(zend_op_array, scope)))); 10549 op_array->scope && 13600 if (!op_array->scope || (op_array->fn_flags & ZEND_ACC_STATIC)) {
|
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() 7767 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_dump_trace() 7790 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_dump_trace() 7825 p->func->common.scope ? ZSTR_VAL(p->func->common.scope->name) : "", in zend_jit_dump_trace() 7974 EX(func)->op_array.scope ? ZSTR_VAL(EX(func)->op_array.scope->name) : "", in zend_jit_trace_hot_root() 8013 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_trace_hot_root() 8325 EX(func)->op_array.scope ? ZSTR_VAL(EX(func)->op_array.scope->name) : "", in zend_jit_trace_hot_side() 8378 op_array->scope ? ZSTR_VAL(op_array->scope->name) : "", in zend_jit_trace_hot_side() [all …]
|
H A D | zend_jit_vm_helpers.c | 524 || func->common.scope)) { in zend_jit_trace_record_fake_init_call_ex()
|
/php-src/ext/pdo/ |
H A D | pdo_dbh.c | 1328 func.scope = dbh_obj->std.ce; in pdo_hash_methods()
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug_47769.phpt | 36 Fatal error: Uncaught Error: Call to protected method TestClass::isProtected() from global scope in…
|
H A D | pdo_fetch_func_001.phpt | 134 cannot access "self" when no class scope is active
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 149 zend_class_entry *scope; member 830 if (scope && fptr->common.scope) { in _function_string() 831 if (fptr->common.scope != scope) { in _function_string() 861 if (fptr->common.scope) { in _function_string() 1158 reference->scope = scope; in reflection_attribute_factory() 1353 intern->ce = fptr->common.scope; in reflection_parameter_factory() 2442 ce = fptr->common.scope; in ZEND_METHOD() 2660 if (param->fptr->common.scope) { in ZEND_METHOD() 2856 zend_class_entry *scope = param->fptr->common.scope; in ZEND_METHOD() local 3375 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD() [all …]
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionFunction_getClosureCalledClass.phpt | 2 GH-8932 (Provide a way to get the called-scope of closures)
|
H A D | ReflectionProperty_constructor_variation1.phpt | 30 echo "--> Reflect inherited private from global scope:\n"; 38 echo "\n\n--> Reflect inherited private from declaring scope:\n"; 41 echo "\n\n--> Reflect inherited private from declaring scope via subclass:\n"; 48 --> Reflect inherited private from global scope: 51 --> Reflect inherited private from declaring scope: 54 --> Reflect inherited private from declaring scope via subclass:
|
H A D | ReflectionReference_errors.phpt | 46 Call to private ReflectionReference::__construct() from global scope
|
H A D | bug38465.phpt | 20 echo "From global scope:\n"; 50 From global scope:
|
H A D | bug66430.phpt | 2 Bug #66430: ReflectionFunction::invoke does not invoke closure with object scope 30 echo "scope cl of c(alpha.bravo): ", $reflectionC->getClosureScopeClass()->getName().PHP_EOL; 41 scope cl of c(alpha.bravo): Alpha
|
H A D | bug79683.phpt | 2 Bug #79683: Fake reflection scope affects __toString()
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 2147 if (fptr_count->common.scope == parent) { in php_sxe_find_fptr_count()
|
/php-src/ext/sockets/ |
H A D | sockaddr_conv.c | 23 char *scope = strchr(string, '%'); in php_set_inet6_addr() local 63 if (scope) { in php_set_inet6_addr() 68 scope++; in php_set_inet6_addr() 70 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr() 75 php_string_to_if_index(scope, &scope_id); in php_set_inet6_addr()
|
/php-src/ext/spl/ |
H A D | php_spl.c | 627 } else if (alfi->func_ptr->common.scope) { in PHP_FUNCTION()
|
H A D | spl_array.c | 196 if (intern->fptr_offset_get->common.scope == parent) { in spl_array_object_new_ex() 200 if (intern->fptr_offset_set->common.scope == parent) { in spl_array_object_new_ex() 204 if (intern->fptr_offset_has->common.scope == parent) { in spl_array_object_new_ex() 208 if (intern->fptr_offset_del->common.scope == parent) { in spl_array_object_new_ex() 213 if (intern->fptr_count->common.scope == parent) { in spl_array_object_new_ex()
|
H A D | spl_directory.c | 494 if (ce->constructor->common.scope != spl_ce_SplFileInfo) { in spl_filesystem_object_create_info() 534 if (ce->constructor->common.scope != spl_ce_SplFileInfo) { in spl_filesystem_object_create_type() 563 if (ce->constructor->common.scope != spl_ce_SplFileObject) { in spl_filesystem_object_create_type() 1968 if (intern->u.file.func_getCurr->common.scope != spl_ce_SplFileObject) { in spl_filesystem_file_read_line_ex()
|