Home
last modified time | relevance | path

Searched refs:scope (Results 51 – 75 of 236) sorted by path

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_058.phpt2 Closure 058: Closure scope and object
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 Dconstants_003.phpt2 Using namespace constants and constants of global scope
H A Ddynamic_call_005.phpt2 Dynamic calls to scope introspection functions are forbidden
H A Ddynamic_call_006.phpt2 Dynamic calls to scope introspection functions are forbidden (function variations)
H A Ddynamic_call_007.phpt2 Dynamic calls to scope introspection functions are forbidden (misoptimization)
H A Dexception_003.phpt2 Throwing exception in global scope
H A Dfirst_class_callable_errors.phpt56 Call to private method Test::privateMethod() from global scope
H A Dfunc_get_args.phpt2 Testing func_get_args() throws error when called from the global scope
14 func_get_args() cannot be called from the global scope
H A Dget_class_methods_001.phpt2 get_class_methods(): Testing scope
H A Dget_class_methods_003.phpt2 get_class_methods(): Testing scope
H A Dget_class_vars_002.phpt2 get_class_vars(): Testing the scope
H A Dget_class_vars_003.phpt2 get_class_vars(): Testing the scope
H A Dget_class_vars_004.phpt2 get_class_vars(): Testing the scope
H A Dglobals_001.phpt2 globals in global scope
H A Dglobals_002.phpt2 globals in local scope
H A Dglobals_003.phpt2 globals in local scope - 2
H A Dglobals_004.phpt2 globals in local scope - 3
/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
/php-src/Zend/tests/constexpr/
H A Dnew_self_parent.phpt38 Cannot access "self" when no class scope is active
39 Cannot access "parent" when current class scope has no parent
/php-src/Zend/tests/grammar/
H A Dregression_003.phpt2 Test to ensure ::class is still reserved in obj scope
H A Dregression_004.phpt2 Test possible function naming regression on procedural scope
H A Dregression_005.phpt2 Test possible constant naming regression on procedural scope

Completed in 39 milliseconds

12345678910