Home
last modified time | relevance | path

Searched refs:scope (Results 201 – 225 of 236) sorted by last modified time

12345678910

/php-src/Zend/tests/
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
H A Dclosure_061.phpt97 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 Dclosure_call.phpt47 // 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 Dclass_alias_016.phpt2 Testing creation of alias to global scope
H A Dclass_name_as_scalar_error_002.phpt14 Fatal error: Cannot use "parent" when current class scope has no parent in %s on line %d
H A Dclass_name_as_scalar_error_005.phpt10 Fatal error: Uncaught Error: Cannot use "static" in the global scope in %s:%d
H A Dclass_name_as_scalar_error_006.phpt10 Fatal error: Uncaught Error: Cannot use "parent" in the global scope in %s:%d
H A Dclass_name_as_scalar_error_007.phpt2 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 Dclosure_002.phpt2 Closure 002: Lambda with lexical variables (global scope)
H A Dclosure_003.phpt2 Closure 003: Lambda with lexical variables (local scope)
H A Dclosure_004.phpt2 Closure 004: Lambda with lexical variables (scope lifetime)
H A Dbug75218.phpt23 __HALT_COMPILER() can only be used from the outermost scope
H A Dbug75474.phpt2 Bug #75474: function scope static variables are not bound to a unique function
H A Dbug76869.phpt23 Exception: Call to protected method B::f() from global scope
H A Dbug78658.phpt8 $scope = "AAAA";
9 $scope = "{$scope}BBBB";
10 $c->bindTo(new stdClass, $scope);
H A Dbug70630.phpt10 Warning: Cannot rebind scope of closure created from function in %s on line %d
H A Dbug70685.phpt21 Warning: Cannot rebind scope of closure created from method in %s on line %d
H A Dbug70918.phpt2 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 Dbug71756.phpt2 Bug #71756 (Call-by-reference widens scope to uninvolved functions when used in switch)
H A Dbug65911.phpt2 Bug #65911 (scope resolution operator - strange behavior with $this)
H A Dbug69017.phpt2 #69017 (Fail to push to the empty array with the constant value defined in class scope)
H A Dbug61025.phpt21 Fatal error: Uncaught Error: Call to private method Bar::__invoke() from global scope in %s:%d
H A Dbug44141.phpt26 Fatal error: Uncaught Error: Call to private X::__construct() from scope Y in %s:%d
H A Dbug45186.phpt2 Bug #45186 (__call depends on __callstatic in class scope)
61 …rgument #1 ($callback) must be a valid callback, cannot access "self" when no class scope is active
/php-src/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt156 echo 'Function scope cannot closure over protected instance method'."\n";
168 echo 'Function scope cannot closure over private instance method'."\n";
209 Function scope cannot closure over protected instance method
210 Function scope cannot closure over private instance method

Completed in 23 milliseconds

12345678910