Home
last modified time | relevance | path

Searched refs:scope (Results 101 – 125 of 186) sorted by relevance

12345678

/PHP-7.3/Zend/
H A Dzend_API.h335 ZEND_API void zend_update_property_ex(zend_class_entry *scope, zval *object, zend_string *name, zva…
336 ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, size_t …
337 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, si…
344 ZEND_API void zend_unset_property(zend_class_entry *scope, zval *object, const char *name, size_t n…
346 ZEND_API int zend_update_static_property_ex(zend_class_entry *scope, zend_string *name, zval *value…
347 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, size_t name_len…
348 ZEND_API int zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t nam…
355 ZEND_API zval *zend_read_property_ex(zend_class_entry *scope, zval *object, zend_string *name, zend…
358 ZEND_API zval *zend_read_static_property_ex(zend_class_entry *scope, zend_string *name, zend_bool s…
359 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_len…
[all …]
H A Dzend_object_handlers.h172 ((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope)
205 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);
/PHP-7.3/ext/spl/
H A Dspl_fixedarray.c249 if (class_type->iterator_funcs_ptr->zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex()
252 if (class_type->iterator_funcs_ptr->zf_valid->common.scope != parent) { in spl_fixedarray_object_new_ex()
255 if (class_type->iterator_funcs_ptr->zf_key->common.scope != parent) { in spl_fixedarray_object_new_ex()
258 if (class_type->iterator_funcs_ptr->zf_current->common.scope != parent) { in spl_fixedarray_object_new_ex()
261 if (class_type->iterator_funcs_ptr->zf_next->common.scope != parent) { in spl_fixedarray_object_new_ex()
266 if (intern->fptr_offset_get->common.scope == parent) { in spl_fixedarray_object_new_ex()
270 if (intern->fptr_offset_set->common.scope == parent) { in spl_fixedarray_object_new_ex()
274 if (intern->fptr_offset_has->common.scope == parent) { in spl_fixedarray_object_new_ex()
278 if (intern->fptr_offset_del->common.scope == parent) { in spl_fixedarray_object_new_ex()
282 if (intern->fptr_count->common.scope == parent) { in spl_fixedarray_object_new_ex()
/PHP-7.3/ext/standard/tests/class_object/
H A Dget_parent_class_variation_001.phpt6 * Description: Retrieves the parent class name for object or class or current scope.
H A Dget_parent_class_error_001.phpt6 * Description: Retrieves the parent class name for object or class or current scope.
H A Dget_class_methods_basic_002.phpt60 echo "Accessing D from global scope:\n";
70 Accessing D from global scope:
/PHP-7.3/Zend/tests/
H A Dbug47320.phpt2 Bug #47320 ($php_errormsg out of scope in functions)
H A Dglobals_002.phpt2 globals in local scope
H A Dclosure_041.phpt2 Closure 041: Rebinding: preservation of previous scope when not given as arg unless impossible
6 /* It's impossible to preserve the previous scope when doing so would break
7 * the invariants that, for non-static closures, having a scope is equivalent
H A Dbug75218.phpt23 __HALT_COMPILER() can only be used from the outermost scope
H A Dget_class_vars_004.phpt2 get_class_vars(): Testing the scope
H A Dglobals_003.phpt2 globals in local scope - 2
H A Dbug70685.phpt21 Warning: Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() in %s o…
H A D020.phpt26 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
H A Dclosure_042.phpt2 Closure 042: Binding an instance to a non-scoped non-static closures gives it a dummy scope
H A Dget_class_vars_002.phpt2 get_class_vars(): Testing the scope
H A Dbug69017.phpt2 #69017 (Fail to push to the empty array with the constant value defined in class scope)
H A Dget_class_methods_003.phpt2 get_class_methods(): Testing scope
H A D001.phpt57 Warning: func_num_args(): Called from the global scope - no function context in %s on line %d
H A Dclosure_058.phpt2 Closure 058: Closure scope and object
/PHP-7.3/ext/reflection/
H A Dphp_reflection.c475 || mptr->common.scope == ce in _class_string()
730 if (scope && fptr->common.scope) { in _function_string()
731 if (fptr->common.scope != scope) { in _function_string()
736 if (fptr->common.scope != overwrites->common.scope) { in _function_string()
764 if (fptr->common.scope) { in _function_string()
1151 intern->ce = fptr->common.scope; in reflection_parameter_factory()
1173 intern->ce = fptr->common.scope; in reflection_type_factory()
1209 ZVAL_STR_COPY(&name, (method->common.scope && method->common.scope->trait_aliases)? in reflection_method_factory()
2298 ce = fptr->common.scope; in ZEND_METHOD()
3066 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD()
[all …]
/PHP-7.3/tests/classes/
H A D__call_004.phpt2 When __call() is invoked via ::, ensure current scope's __call() is favoured over the specified cla…
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_info.c214 if (ops->scope) { in phpdbg_print_symbols()
215 …info", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name->val, ops->f… in phpdbg_print_symbols()
315 if (ops->scope) { in PHPDBG_INFO()
316 …method=\"%s::%s\" num=\"%d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->f… in PHPDBG_INFO()
/PHP-7.3/ext/opcache/Optimizer/
H A Dzend_optimizer.c979 } else if (opline->op1_type == IS_UNUSED && op_array->scope in get_class_entry_from_op1()
980 && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT) in get_class_entry_from_op1()
982 return op_array->scope; in get_class_entry_from_op1()
1040 && op_array->scope && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_optimizer_get_called_func()
1043 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
1047 zend_bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func()
1492 if (op_array->scope == ce) { in zend_optimize_script()
1496 if ((orig_op_array = zend_hash_find_ptr(&op_array->scope->function_table, name)) != NULL) { in zend_optimize_script()
1592 if (op_array->scope != ce) { in zend_optimize_script()
1616 if (op_array->scope == ce) { in zend_optimize_script()
[all …]
/PHP-7.3/ext/zend_test/
H A Dtest.c150 fptr->scope = (*object)->ce; in zend_test_class_method_get()
166 fptr->scope = ce; in zend_test_class_static_method_get()

Completed in 63 milliseconds

12345678