/PHP-8.4/Zend/tests/asymmetric_visibility/ |
H A D | variation.phpt | 92 if ($scope) { 107 Init: 1, scope: 1, op: r: 1 108 Init: 1, scope: 1, op: w: done 109 Init: 1, scope: 1, op: rw: done 111 Init: 1, scope: 1, op: is: 1 114 Init: 1, scope: 0, op: r: 1 115 Init: 1, scope: 0, op: w: Cannot modify private(set) property Test::$prop from global scope 118 Init: 1, scope: 0, op: is: 1 122 Init: 0, scope: 1, op: w: done 125 Init: 0, scope: 1, op: is: 0 [all …]
|
H A D | reference_2.phpt | 2 Asymmetric visibility reference in forbidden scope 29 Cannot indirectly modify private(set) property C::$prop from global scope 30 Cannot indirectly modify private(set) property C::$prop from global scope
|
/PHP-8.4/Zend/tests/readonly_props/ |
H A D | variation.phpt | 90 echo 'Init: ' . ((int) $init) . ', scope: ' . ((int) $scope) . ', op: ' . $op . ": "; 92 if ($scope) { 107 Init: 1, scope: 1, op: r: 1 111 Init: 1, scope: 1, op: is: 1 114 Init: 1, scope: 0, op: r: 1 118 Init: 1, scope: 0, op: is: 1 122 Init: 0, scope: 1, op: w: done 125 Init: 0, scope: 1, op: is: 0 126 Init: 0, scope: 1, op: us: done 127 Init: 0, scope: 1, op: us_dim: done [all …]
|
/PHP-8.4/ext/dom/lexbor/lexbor/core/ |
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 | 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 …]
|
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_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,
|
/PHP-8.4/Zend/tests/ |
H A D | bug70918.phpt | 2 Bug #70918 (Segfault using static outside of class scope) 42 string(52) "Cannot access "static" when no class scope is active" 43 string(52) "Cannot access "parent" when no class scope is active" 44 string(50) "Cannot access "self" when no class scope is active" 45 string(52) "Cannot access "static" when no class scope is active" 46 string(52) "Cannot access "static" when no class scope is active" 47 string(52) "Cannot access "static" when no class scope is active"
|
H A D | bug78658.phpt | 8 $scope = "AAAA"; 9 $scope = "{$scope}BBBB"; 10 $c->bindTo(new stdClass, $scope);
|
H A D | closure_044.phpt | 5 /* A non-static closure has a bound instance if it has a scope 6 * and doesn't have an instance if it has no scope */ 24 echo "After binding, null scope, no instance", "\n"; 28 echo "After binding, null scope, with instance", "\n"; 32 echo "After binding, with scope, no instance", "\n"; 36 echo "After binding, with scope, with instance", "\n"; 50 After binding, null scope, no instance 58 After binding, null scope, with instance 65 After binding, with scope, no instance 73 After binding, with scope, with instance
|
H A D | closure_061.phpt | 97 foreach ($bindings as list($obj, $scope)) { 99 $scopeStr = $scope ? "$scope::class" : "null"; 102 $ret = $c->bindTo($obj, $scope); 166 Cannot rebind scope of closure created from method 169 Cannot rebind scope of closure created from method 172 Cannot rebind scope of closure created from method 190 Cannot rebind scope of closure created from method 193 Cannot rebind scope of closure created from method 196 Cannot rebind scope of closure created from method 217 Cannot rebind scope of closure created from method [all …]
|
H A D | bug45862.phpt | 22 echo "\n From parent scope\n"; 25 echo "\n From child scope\n"; 31 From parent scope 38 From child scope
|
H A D | closure_043.phpt | 24 echo "After binding, null scope, no instance", "\n"; 28 echo "After binding, null scope, with instance", "\n"; 32 echo "After binding, with scope, no instance", "\n"; 36 echo "After binding, with scope, with instance", "\n"; 50 After binding, null scope, no instance 57 After binding, null scope, with instance 62 After binding, with scope, no instance 69 After binding, with scope, with instance
|
H A D | self_method_or_prop_outside_class.phpt | 33 Cannot access "self" when no class scope is active 34 Cannot access "self" when no class scope is active 35 Cannot access "self" when no class scope is active 36 Cannot access "self" when no class scope is active
|
H A D | class_name_as_scalar_error_007.phpt | 2 Cannot access self::class when no class scope is active 19 Cannot use "self" in the global scope 20 Cannot use "self" in the global scope
|
H A D | closure_038.phpt | 2 Closure 038: Rebinding closures, change scope, different runtime type 31 echo "Testing with scope given as object", "\n"; 38 echo "Testing with scope as string", "\n"; 51 Testing with scope given as object 54 Testing with scope as string
|
H A D | closure_039.phpt | 2 Closure 039: Rebinding closures, change scope, same runtime type 31 echo "Testing with scope given as object", "\n"; 38 echo "Testing with scope as string", "\n"; 51 Testing with scope given as object 54 Testing with scope as string
|
H A D | closure_042.phpt | 2 Closure 042: Binding an instance to a non-scoped non-static closures gives it a dummy scope 10 var_dump($rm->getClosureScopeClass()->name); //dummy scope is Closure 16 var_dump($rm->getClosureScopeClass()->name); //dummy scope is Closure
|
/PHP-8.4/Zend/ |
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 …]
|
H A D | zend_dtrace.c | 58 const char *scope, *filename, *funcname, *classname; in dtrace_execute_ex() local 59 scope = filename = funcname = classname = NULL; in dtrace_execute_ex() 69 classname = get_active_class_name(&scope); in dtrace_execute_ex() 78 …TRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope); in dtrace_execute_ex() 84 …RACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope); in dtrace_execute_ex()
|
H A D | zend_attributes.c | 72 zend_attribute *attr, uint32_t target, zend_class_entry *scope) in validate_allow_dynamic_properties() argument 74 if (scope->ce_flags & ZEND_ACC_TRAIT) { in validate_allow_dynamic_properties() 76 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties() 79 if (scope->ce_flags & ZEND_ACC_INTERFACE) { in validate_allow_dynamic_properties() 81 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties() 84 if (scope->ce_flags & ZEND_ACC_READONLY_CLASS) { in validate_allow_dynamic_properties() 86 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties() 89 if (scope->ce_flags & ZEND_ACC_ENUM) { in validate_allow_dynamic_properties() 91 ZSTR_VAL(scope->name) in validate_allow_dynamic_properties() 94 scope->ce_flags |= ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES; in validate_allow_dynamic_properties() [all …]
|
/PHP-8.4/ext/reflection/tests/ |
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:
|
/PHP-8.4/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-8.4/ext/standard/tests/class_object/ |
H A D | get_class_methods_basic_003.phpt | 30 echo "Accessing I from global scope:\n"; 32 echo "Accessing C from global scope:\n"; 38 Accessing I from global scope: 43 Accessing C from global scope:
|