/php-src/ext/odbc/ |
H A D | php_odbc.c | 3326 SQLUSMALLINT type, scope, nullable; 3335 scope = (SQLUSMALLINT) vscope; 3361 scope,
|
H A D | odbc.stub.php | 431 …n $odbc, int $type, ?string $catalog, string $schema, string $table, int $scope, int $nullable): O…
|
H A D | odbc_arginfo.h | 216 ZEND_ARG_TYPE_INFO(0, scope, IS_LONG, 0)
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 1360 zend_class_entry *scope = zend_get_executed_scope(); local 1364 if (scope && len >= 5 && !memcmp("$this", input, 5)) {
|
/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() 2451 ce = fptr->common.scope; in ZEND_METHOD() 2669 if (param->fptr->common.scope) { in ZEND_METHOD() 2865 zend_class_entry *scope = param->fptr->common.scope; in ZEND_METHOD() local 3384 zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); in ZEND_METHOD() [all …]
|
/php-src/Zend/ |
H A D | zend_compile.c | 1331 if (scope) { in resolve_class_name() 1333 name = scope->name; in resolve_class_name() 1335 name = scope->parent->name; in resolve_class_name() 1786 return c->ce == scope; in zend_verify_ct_const_access() 1790 if (ce == scope) { in zend_verify_ct_const_access() 2926 return op_array->scope != NULL in this_guaranteed_exists() 5125 if (CG(active_op_array)->scope) { in zend_compile_static_var_common() 5154 if (CG(active_op_array)->scope) { in zend_compile_static_var() 7320 zend_class_entry *scope = op_array->scope; in zend_compile_params() local 7674 op_array->scope = ce; in zend_begin_method_decl() [all …]
|
H A D | zend_inheritance.c | 213 ZEND_ASSERT(scope); in resolve_class_name() 216 return scope->parent->name; in resolve_class_name() 218 return scope->parent_name; in resolve_class_name() 221 return scope->name; in resolve_class_name() 285 return scope; in lookup_class_ex() 884 if (fptr->common.scope) { in zend_get_function_declaration() 1222 func, func->common.scope, parent, parent->common.scope, ce, child, in do_inherit_method() 1226 func, func->common.scope, parent, parent->common.scope, ce, child, in do_inherit_method() 1946 return fn->common.scope->ce_flags & ZEND_ACC_TRAIT ? ce : fn->common.scope; in fixup_trait_scope() 2023 fn->common.scope = ce; in zend_fixup_trait_method() [all …]
|
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_builtin_functions.c | 563 if (scope) { in ZEND_FUNCTION() 568 RETURN_STR_COPY(scope->name); in ZEND_FUNCTION() 700 prop_info->ce != scope)) { in add_class_vars() 752 scope = zend_get_executed_scope(); in ZEND_FUNCTION() 855 zend_class_entry *scope; in ZEND_FUNCTION() local 863 scope = zend_get_executed_scope(); in ZEND_FUNCTION() 867 || (scope && in ZEND_FUNCTION() 869 zend_check_protected(mptr->common.scope, scope)) in ZEND_FUNCTION() 871 scope == mptr->common.scope))) in ZEND_FUNCTION() 1971 if (func->common.scope) { in zend_fetch_debug_backtrace() [all …]
|
H A D | zend_API.c | 2884 internal_function->scope = scope; in zend_register_functions() 2936 scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); in zend_register_functions() 2957 if (scope) { in zend_register_functions() 2971 if (scope && (scope->ce_flags & ZEND_ACC_INTERFACE)) { in zend_register_functions() 3033 scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); in zend_register_functions() 3112 if (scope) { in zend_register_functions() 3671 if (!scope) { in zend_is_callable_check_class() 3688 if (!scope) { in zend_is_callable_check_class() 3901 && priv_fbc->common.scope == scope) { in zend_is_callable_check_func() 3912 if (fcc->function_handler->common.scope != scope) { in zend_is_callable_check_func() [all …]
|
H A D | zend_execute_API.c | 684 return ex->func->common.scope; in zend_get_executed_scope() 1069 fn->common.scope ? ZSTR_VAL(fn->common.scope->name) : "", in zend_call_known_function() 1671 zend_class_entry *ce, *scope; in zend_fetch_class() local 1678 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1681 return scope; in zend_fetch_class() 1684 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1691 return scope->parent; in zend_fetch_class() 1723 if (UNEXPECTED(!scope)) { in zend_fetch_class_with_scope() 1726 return scope; in zend_fetch_class_with_scope() 1728 if (UNEXPECTED(!scope)) { in zend_fetch_class_with_scope() [all …]
|
H A D | zend_execute.c | 679 if (zf->common.scope) { in zend_verify_type_error_common() 978 return value_ce == scope; in zend_check_and_resolve_property_or_class_constant_class_type() 1303 fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", in zend_internal_call_arginfo_violation() 1304 fbc->common.scope ? "::" : "", in zend_internal_call_arginfo_violation() 1377 EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : "", in zend_missing_arg_error() 1387 EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : "", in zend_missing_arg_error() 1443 if (zf->common.scope) { in zend_verify_void_return_error() 1727 if (fbc->common.scope) { in zend_deprecated_function() 2281 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_param_must_be_ref() 2282 func->common.scope ? "::" : "", in zend_param_must_be_ref() [all …]
|
H A D | zend_constants.c | 234 ZEND_API bool zend_verify_const_access(zend_class_constant *c, zend_class_entry *scope) /* {{{ */ in zend_verify_const_access() argument 239 return (c->ce == scope); in zend_verify_const_access() 242 return zend_check_protected(c->ce, scope); in zend_verify_const_access() 307 if (UNEXPECTED(!scope)) { in zend_get_class_constant_ex() 311 ce = scope; in zend_get_class_constant_ex() 313 if (UNEXPECTED(!scope)) { in zend_get_class_constant_ex() 316 } else if (UNEXPECTED(!scope->parent)) { in zend_get_class_constant_ex() 320 ce = scope->parent; in zend_get_class_constant_ex() 340 if (!zend_verify_const_access(c, scope)) { in zend_get_class_constant_ex() 389 ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, uint32_t flags) in zend_get_constant_ex() argument [all …]
|
H A D | zend_constants.h | 79 ZEND_API zval *zend_get_constant_ex(zend_string *name, zend_class_entry *scope, uint32_t flags); 80 …t_ex(zend_string *class_name, zend_string *constant_name, zend_class_entry *scope, uint32_t flags);
|
H A D | zend_closures.c | 102 if (scope && scope != func->common.scope && scope->type == ZEND_INTERNAL_CLASS) { in zend_valid_closure_binding() 109 if (is_fake_closure && scope != func->common.scope) { in zend_valid_closure_binding() 367 call.scope = mptr->common.scope; in zend_create_closure_from_callable() 450 if (lhs->func.common.scope != rhs->func.common.scope) { in zend_closure_compare() 777 || func->common.scope != scope in zend_create_closure_ex() 782 && (func->common.scope == scope || in zend_create_closure_ex() 786 if (func->common.scope != scope) { in zend_create_closure_ex() 787 func->common.scope = scope; in zend_create_closure_ex() 824 closure->func.common.scope = scope; in zend_create_closure_ex() 826 if (scope) { in zend_create_closure_ex() [all …]
|
/php-src/Zend/tests/ |
H A D | class_alias_019.phpt | 2 Trying to redeclare class name in global scope inside namespace
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | avl.h | 66 lexbor_avl_insert(lexbor_avl_t *avl, lexbor_avl_node_t **scope, 70 lexbor_avl_search(lexbor_avl_t *avl, lexbor_avl_node_t *scope, size_t type); 73 lexbor_avl_remove(lexbor_avl_t *avl, lexbor_avl_node_t **scope, size_t type); 80 lexbor_avl_foreach(lexbor_avl_t *avl, lexbor_avl_node_t **scope, 84 lexbor_avl_foreach_recursion(lexbor_avl_t *avl, lexbor_avl_node_t *scope,
|
H A D | bst.c | 101 if (*scope == NULL) { in lexbor_bst_insert() 106 entry = *scope; in lexbor_bst_insert() 150 if (*scope == NULL) { in lexbor_bst_insert_not_exists() 153 return *scope; in lexbor_bst_insert_not_exists() 156 entry = *scope; in lexbor_bst_insert_not_exists() 192 return scope; in lexbor_bst_search() 195 scope = scope->right; in lexbor_bst_search() 198 scope = scope->left; in lexbor_bst_search() 216 scope = scope->right; in lexbor_bst_search_close() 219 max = scope; in lexbor_bst_search_close() [all …]
|
H A D | bst.h | 65 lexbor_bst_insert(lexbor_bst_t *bst, lexbor_bst_entry_t **scope, 69 lexbor_bst_insert_not_exists(lexbor_bst_t *bst, lexbor_bst_entry_t **scope, 74 lexbor_bst_search(lexbor_bst_t *bst, lexbor_bst_entry_t *scope, size_t size); 77 lexbor_bst_search_close(lexbor_bst_t *bst, lexbor_bst_entry_t *scope,
|
H A D | bst_map.c | 82 lexbor_bst_map_search(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t *scope, in lexbor_bst_map_search() argument 90 bst_entry = lexbor_bst_search(bst_map->bst, scope, hash_id); in lexbor_bst_map_search() 113 lexbor_bst_entry_t **scope, in lexbor_bst_map_insert() argument 118 entry = lexbor_bst_map_insert_not_exists(bst_map, scope, key, key_len); in lexbor_bst_map_insert() 130 lexbor_bst_entry_t **scope, in lexbor_bst_map_insert_not_exists() argument 138 bst_entry = lexbor_bst_insert_not_exists(bst_map->bst, scope, hash_id); in lexbor_bst_map_insert_not_exists() 195 lexbor_bst_map_remove(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, in lexbor_bst_map_remove() argument 203 bst_entry = lexbor_bst_search(bst_map->bst, *scope, hash_id); in lexbor_bst_map_remove() 216 lexbor_bst_remove_by_pointer(bst_map->bst, bst_entry, scope); in lexbor_bst_map_remove()
|
H A D | bst_map.h | 49 lexbor_bst_map_search(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t *scope, 53 lexbor_bst_map_insert(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope, 58 lexbor_bst_entry_t **scope, 62 lexbor_bst_map_remove(lexbor_bst_map_t *bst_map, lexbor_bst_entry_t **scope,
|
H A D | avl.c | 251 *scope = node; in lexbor_avl_node_balance() 263 if (*scope == NULL) { in lexbor_avl_insert() 265 return *scope; in lexbor_avl_insert() 268 node = *scope; in lexbor_avl_insert() 370 *scope = node; in lexbor_avl_rotate_for_delete() 402 lexbor_avl_node_t *node = *scope; in lexbor_avl_remove() 463 if (scope == NULL || *scope == NULL) { in lexbor_avl_foreach() 467 node = *scope; in lexbor_avl_foreach() 492 root = *scope; in lexbor_avl_foreach() 560 if (scope == NULL) { in lexbor_avl_foreach_recursion() [all …]
|
/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_fixedarray.c | 41 …l_ce_SplFixedArray && (object)->ce->arrayaccess_funcs_ptr->method->common.scope != spl_ce_SplFixed… 304 if (fptr_count->common.scope == parent) { in spl_fixedarray_object_new_ex()
|
/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 …]
|