/PHP-7.3/ext/standard/tests/array/ |
H A D | compact_variation2.phpt | 2 …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 ***
|
/PHP-7.3/ext/oci8/tests/ |
H A D | drcp_scope1.phpt | 2 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 D | drcp_scope2.phpt | 2 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
|
H A D | drcp_scope3.phpt | 2 DRCP: oci_pconnect() with scope end when oci8.old_oci_close_semantics ON 31 // This is the first scope for the script 39 // This is the second scope
|
H A D | drcp_scope4.phpt | 2 DRCP: oci_pconnect() with scope end when oci8.old_oci_close_semantics OFF 34 // This is the first scope for the script 42 // This is the second scope
|
H A D | drcp_scope5.phpt | 2 DRCP: oci_pconnect() with scope end when oci8.old_oci_close_semantics ON 34 // This is the first scope for the script 42 // This is the second scope
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_print.c | 64 if (method->common.scope) { in phpdbg_print_function_helper() 68 ZSTR_VAL(method->common.scope->name), in phpdbg_print_function_helper() 96 if (method->common.scope) { in phpdbg_print_function_helper() 97 …rnal\" method=\"%s::%s\"", "\tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(m… in phpdbg_print_function_helper() 129 if (ops->scope) { in PHPDBG_PRINT() 130 …ethod=\"%s::%s\" num=\"%d\"", "Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(o… in PHPDBG_PRINT() 220 zend_class_entry *scope = zend_get_executed_scope(); in PHPDBG_PRINT() local 222 if (scope) { in PHPDBG_PRINT() 226 func_table = &scope->function_table; in PHPDBG_PRINT() 245 (fbc->common.scope) ? "Method" : "Function", in PHPDBG_PRINT()
|
/PHP-7.3/Zend/tests/ |
H A D | closure_046.phpt | 2 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
|
H A D | bug45186.phpt | 2 Bug #45186 (__call depends on __callstatic in class scope) 54 …ts parameter 1 to be a valid callback, cannot access self:: when no class scope is active in %sbug…
|
H A D | closure_call.phpt | 47 // Ensure ->call calls with scope of passed object 64 Warning: Cannot bind closure to scope of internal class stdClass in %s line %d
|
H A D | bug45186_2.phpt | 2 Bug #45186.2 (__call depends on __callstatic in class scope) 50 …ts parameter 1 to be a valid callback, cannot access self:: when no class scope is active in %sbug…
|
H A D | ns_061.phpt | 2 061: use in global scope
|
H A D | func_get_args.phpt | 10 Warning: func_get_args(): Called from the global scope - no function context in %s on line 3
|
H A D | halt03.phpt | 10 Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %shalt03.php on line %d
|
H A D | exception_003.phpt | 2 Throwing exception in global scope
|
/PHP-7.3/Zend/ |
H A D | zend_closures.h | 35 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zend… 36 ZEND_API void zend_create_fake_closure(zval *res, zend_function *op_array, zend_class_entry *scope,…
|
H A D | zend_inheritance.c | 211 …("parent")-1 && !strcasecmp(class_name, "parent") && fe->common.scope && fe->common.scope->parent)… in zend_do_perform_type_hint_check() 222 …ent")-1 && !strcasecmp(class_name, "parent") && proto->common.scope && proto->common.scope->parent… in zend_do_perform_type_hint_check() 416 class_name = ZSTR_VAL(fptr->common.scope->name); in zend_append_type_hint() 418 …} else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { in zend_append_type_hint() 445 if (fptr->common.scope) { in zend_get_function_declaration() 447 …smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->na… in zend_get_function_declaration() 650 func->common.scope != ce && in do_inherit_method() 1192 if (existing_fn->common.scope == ce) { in zend_add_trait_method() 1274 fn->common.scope = ce; in zend_fixup_trait_method() 1317 aliases[i] = fn->common.scope; in zend_traits_copy_functions() [all …]
|
H A D | zend_constants.c | 233 ZEND_API int zend_verify_const_access(zend_class_constant *c, zend_class_entry *scope) /* {{{ */ in zend_verify_const_access() argument 238 return (c->ce == scope); in zend_verify_const_access() 241 return zend_check_protected(c->ce, scope); in zend_verify_const_access() 322 ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, uint32_t flags) in zend_get_constant_ex() argument 347 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 351 ce = scope; in zend_get_constant_ex() 353 if (UNEXPECTED(!scope)) { in zend_get_constant_ex() 356 } else if (UNEXPECTED(!scope->parent)) { in zend_get_constant_ex() 360 ce = scope->parent; in zend_get_constant_ex() 380 if (!zend_verify_const_access(c, scope)) { in zend_get_constant_ex()
|
H A D | zend_builtin_functions.c | 953 if (scope) { in ZEND_FUNCTION() 980 if (!scope) { in ZEND_FUNCTION() 1103 ce != scope && in add_class_vars() 1141 zend_class_entry *ce, *scope; in ZEND_FUNCTION() local 1266 zend_class_entry *scope; in ZEND_FUNCTION() local 1290 || (scope && in ZEND_FUNCTION() 1292 zend_check_protected(mptr->common.scope, scope)) in ZEND_FUNCTION() 1294 scope == mptr->common.scope)))) { in ZEND_FUNCTION() 2321 if (func->common.scope && func->common.scope->trait_aliases) { in ZEND_FUNCTION() 2338 if (func->common.scope) { in ZEND_FUNCTION() [all …]
|
H A D | zend_execute_API.c | 504 return ex->func->common.scope; in zend_get_executed_scope() 688 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function() 689 func->common.scope ? "::" : "", in zend_call_function() 714 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function() 715 func->common.scope ? "::" : "", in zend_call_function() 1304 zend_class_entry *ce, *scope; in zend_fetch_class() local 1311 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1314 return scope; in zend_fetch_class() 1317 if (UNEXPECTED(!scope)) { in zend_fetch_class() 1321 if (UNEXPECTED(!scope->parent)) { in zend_fetch_class() [all …]
|
/PHP-7.3/ext/reflection/tests/ |
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
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | get_defined_vars_basic.phpt | 7 variables, be them environment, server or user-defined variables, within the scope that 55 echo "\n-- Get variables at global scope --\n"; 59 echo "TEST FAILED - Global variables missing at global scope\n"; 71 -- Get variables at global scope --
|
/PHP-7.3/tests/classes/ |
H A D | property_recreate_private.phpt | 33 echo "\nUnset superclass's private property, and recreate it as public at global scope:\n"; 46 echo "\nUnset a private property, and attempt to recreate at global scope (expecting failure):\n"; 66 Unset superclass's private property, and recreate it as public at global scope: 79 Unset a private property, and attempt to recreate at global scope (expecting failure):
|
H A D | constants_scope_001.phpt | 2 ZE2 class constants and scope 25 /* Call the static function and move into the ErrorCodes scope */
|
/PHP-7.3/ext/xmlrpc/tests/ |
H A D | bug47818.phpt | 36 print "Global scope: $method\n"; 41 Global scope: add
|