Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 164) sorted by relevance

1234567

/PHP-5.6/Zend/
H A Dzend_ast.c111 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
112 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC); in zend_ast_evaluate()
118 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
119 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC); in zend_ast_evaluate()
125 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
126 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC); in zend_ast_evaluate()
132 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC); in zend_ast_evaluate()
133 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC); in zend_ast_evaluate()
255 if (scope) { in zend_ast_evaluate()
257 zval_update_constant_ex(&ast->u.val, 1, scope TSRMLS_CC); in zend_ast_evaluate()
[all …]
H A Dzend_dtrace.c50 const char *scope, *filename, *funcname, *classname; in dtrace_execute_ex() local
51 scope = filename = funcname = classname = NULL; in dtrace_execute_ex()
61 classname = get_active_class_name(&scope TSRMLS_CC); in dtrace_execute_ex()
70 …TRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope); in dtrace_execute_ex()
76 …RACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope); in dtrace_execute_ex()
H A Dzend_API.c2101 if (scope) { in zend_register_functions()
2115 internal_function->scope = scope; in zend_register_functions()
2166 if (scope && (scope->ce_flags & ZEND_ACC_INTERFACE)) { in zend_register_functions()
2201 if (scope) { in zend_register_functions()
2260 if (scope) { in zend_register_functions()
2900 && priv_fbc->common.scope == EG(scope)) { in zend_is_callable_check_func()
3760 EG(scope) = scope; in zend_update_property()
3784 EG(scope) = scope; in zend_unset_property()
3880 EG(scope) = scope; in zend_update_static_property()
3989 EG(scope) = scope; in zend_read_property()
[all …]
H A Dzend_closures.c121 ce = closure->func.common.scope; in ZEND_METHOD()
133 ce = closure->func.common.scope; in ZEND_METHOD()
138 if (ce && !instanceof_function(ce, closure->func.common.scope TSRMLS_CC)) { in ZEND_METHOD()
178 invoke->internal_function.scope = zend_ce_closure; in zend_get_closure_invoke_method()
329 *ce_ptr = closure->func.common.scope; in zend_closure_get_closure()
469 if ((scope == NULL) && (this_ptr != NULL)) { in zend_create_closure()
472 scope = zend_ce_closure; in zend_create_closure()
486 if (!func->common.scope) { in zend_create_closure()
489 scope = NULL; in zend_create_closure()
497 closure->func.common.scope = scope; in zend_create_closure()
[all …]
H A Dzend_constants.c226 if (EG(scope) && EG(scope)->name) { in zend_get_special_constant()
234 …zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_lengt… in zend_get_special_constant()
238 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant()
327 if (!scope) { in zend_get_constant_ex()
329 scope = EG(scope); in zend_get_constant_ex()
331 scope = CG(active_class_entry); in zend_get_constant_ex()
337 if (scope) { in zend_get_constant_ex()
338 ce = scope; in zend_get_constant_ex()
346 if (!scope) { in zend_get_constant_ex()
348 } else if (!scope->parent) { in zend_get_constant_ex()
[all …]
H A Dzend_object_handlers.c277 if ((ce==EG(scope) || property_info->ce == EG(scope)) && EG(scope)) { in zend_verify_property_access()
353 && EG(scope) in zend_get_property_info_quick()
963 if (fbc->common.scope == ce && EG(scope) == ce) { in zend_check_private_int()
975 && fbc->common.scope == EG(scope)) { in zend_check_private_int()
1011 while (scope) { in zend_check_protected()
1012 if (scope==ce) { in zend_check_protected()
1015 scope = scope->parent; in zend_check_protected()
1088 if (EG(scope) && in zend_std_get_method()
1089 is_derived_class(fbc->common.scope, EG(scope)) && in zend_std_get_method()
1095 && priv_fbc->common.scope == EG(scope)) { in zend_std_get_method()
[all …]
H A Dzend_dtrace.d31 …function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
32 …unction__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
/PHP-5.6/Zend/tests/
H A Dclosure_044.phpt5 /* 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
57 After binding, null scope, with instance
64 After binding, with scope, no instance
71 After binding, with scope, with instance
H A Dbug45862.phpt22 echo "\n From parent scope\n";
25 echo "\n From child scope\n";
32 From parent scope
39 From child scope
H A Dclosure_038.phpt2 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 Dclosure_039.phpt2 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 Dclosure_043.phpt24 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
68 After binding, with scope, no instance
75 After binding, with scope, with instance
H A Dclosure_046.phpt2 Closure 046: Rebinding: preservation of previous scope when "static" given as scope arg (same as cl…
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
/PHP-5.6/ext/reflection/tests/
H A DReflectionProperty_constructor_variation1.phpt30 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 DReflectionMethod_setAccessible.phpt96 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
97 string(73) "Trying to invoke private method A::aPrivate() from scope ReflectionMethod"
98 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod"
99 string(79) "Trying to invoke private method A::aPrivateStatic() from scope ReflectionMethod"
100 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod"
101 string(77) "Trying to invoke protected method A::aProtected() from scope ReflectionMethod"
102 string(83) "Trying to invoke protected method A::aProtectedStatic() from scope ReflectionMethod"
103 string(83) "Trying to invoke protected method A::aProtectedStatic() from scope ReflectionMethod"
/PHP-5.6/ext/oci8/tests/
H A Dconn_attr_5.phpt2 Set and get connection attributes with scope end.
24 echo"**Test - Set and get values for the attributes with scope end ************\n";
26 // Set the attributes in one scope and verify the values from another scope.
29 echo "Get the Values from a different scope \n";
56 **Test - Set and get values for the attributes with scope end ************
64 Get the Values from a different scope
H A Ddrcp_scope1.phpt2 DRCP: oci_new_connect() and oci_connect() with scope end when oci8.old_oci_close_semantics ON
13 // Scope considered here is the functional scope
17 // When the scope ends the txn is rolled back and hence the updated value
41 //This is the first scope for the script
57 // This is the second scope
H A Ddrcp_scope2.phpt2 DRCP: oci_new_connect() and oci_connect with scope end when oci8.old_oci_close_semantics OFF
13 // Scope considered here is the functional scope
17 // When the scope ends the txn is rolled back and hence the updated value
41 //This is the first scope for the script
57 // This is the second scope
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_print.c65 if (method->common.scope) { in phpdbg_print_function_helper()
68 method->common.scope->name, in phpdbg_print_function_helper()
99 if (method->common.scope) { in phpdbg_print_function_helper()
100 phpdbg_writeln("\tInternal %s::%s()", method->common.scope->name, method->common.function_name); in phpdbg_print_function_helper()
133 if (ops->scope) { in PHPDBG_PRINT()
134 phpdbg_notice("Stack in %s::%s()", ops->scope->name, ops->function_name); in PHPDBG_PRINT()
221 if (EG(scope)) { in PHPDBG_PRINT()
225 func_table = &EG(scope)->function_table; in PHPDBG_PRINT()
242 (fbc->common.scope) ? "Method" : "Function", in PHPDBG_PRINT()
/PHP-5.6/ext/sockets/
H A Dsockaddr_conv.c23 char *scope = strchr(string, '%'); in php_set_inet6_addr() local
63 if (scope++) { in php_set_inet6_addr()
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr()
73 php_string_to_if_index(scope, &scope_id TSRMLS_CC); in php_set_inet6_addr()
/PHP-5.6/ext/standard/tests/class_object/
H A Dget_class_methods_basic_003.phpt36 echo "Accessing I from global scope:\n";
38 echo "Accessing C from global scope:\n";
44 Accessing I from global scope:
49 Accessing C from global scope:
/PHP-5.6/tests/classes/
H A Dproperty_recreate_protected.phpt22 echo "Unset and recreate a protected property from property's declaring class scope:\n";
33 echo "\nUnset a protected property, and attempt to recreate it outside of scope (expected failure):…
39 Unset and recreate a protected property from property's declaring class scope:
51 Unset a protected property, and attempt to recreate it outside of scope (expected failure):
H A D__call_006.phpt31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n";
38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n";
61 ---> Invoke __call via scope resolution operator within instance.
67 ---> Invoke __call via scope resolution operator within child instance.
H A D__call_007.phpt31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n";
38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n";
61 ---> Invoke __call via scope resolution operator within instance.
66 ---> Invoke __call via scope resolution operator within child instance.
/PHP-5.6/ext/standard/tests/array/
H A Dcompact_variation2.phpt2 …t compact() function: ensure compact() doesn't pick up variables declared outside of current scope.
10 echo "*** Testing compact() : usage variations - variables outside of current scope ***\n";
27 *** Testing compact() : usage variations - variables outside of current scope ***

Completed in 68 milliseconds

1234567