Home
last modified time | relevance | path

Searched refs:scope (Results 51 – 75 of 197) sorted by relevance

12345678

/PHP-7.4/tests/lang/
H A Dfunc_num_args.003.phpt10 Warning: func_num_args(): Called from the global scope - no function context in %s on line %d
H A Dfunc_get_arg.003.phpt10 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
H A Dstatic_basic_001.phpt40 echo "\nUsing static keyword at global scope\n";
80 Using static keyword at global scope
H A Dbug25652.phpt2 Bug #25652 (Calling Global functions dynamically fails from Class scope)
/PHP-7.4/Zend/tests/
H A Dexception_003.phpt2 Throwing exception in global scope
H A D035.phpt2 Using 'static' and 'global' in global scope
H A Dbug79919.phpt2 Bug #79919 (Stack use-after-scope in define())
H A Dself_class_const_outside_class.phpt10 Fatal error: Cannot use "self" when no class scope is active in %s on line %d
H A Dself_instanceof_outside_class.phpt17 Cannot access self:: when no class scope is active
H A Dmagic_const_in_global_scope.phpt2 Test use of magic constants in the global scope
H A Dclosure_002.phpt2 Closure 002: Lambda with lexical variables (global scope)
H A Dconstants_003.phpt2 Using namespace constants and constants of global scope
H A Ddynamic_call_007.phpt2 Dynamic calls to scope introspection functions are forbidden (misoptimization)
H A Dbug70630.phpt10 Warning: Cannot rebind scope of closure created from function in %s on line %d
H A Dclosure_003.phpt2 Closure 003: Lambda with lexical variables (local scope)
/PHP-7.4/Zend/
H A Dzend_execute_API.c551 return ex->func->common.scope; in zend_get_executed_scope()
744 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function()
745 func->common.scope ? "::" : "", in zend_call_function()
772 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function()
773 func->common.scope ? "::" : "", in zend_call_function()
1372 zend_class_entry *ce, *scope; in zend_fetch_class() local
1379 if (UNEXPECTED(!scope)) { in zend_fetch_class()
1382 return scope; in zend_fetch_class()
1385 if (UNEXPECTED(!scope)) { in zend_fetch_class()
1389 if (UNEXPECTED(!scope->parent)) { in zend_fetch_class()
[all …]
H A Dzend_inheritance.c206 ZEND_ASSERT(scope); in resolve_class_name()
209 return scope->parent->name; in resolve_class_name()
211 return scope->parent_name; in resolve_class_name()
214 return scope->name; in resolve_class_name()
253 return scope; in lookup_class()
544 …} else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { in zend_append_type_hint()
571 if (fptr->common.scope) { in zend_get_function_declaration()
822 if (child->common.scope != ce in do_inheritance_check_on_method_ex()
1639 fn->common.scope = ce; in zend_fixup_trait_method()
1682 aliases[i] = fn->common.scope; in zend_traits_copy_functions()
[all …]
/PHP-7.4/Zend/tests/return_types/
H A D024.phpt8 Fatal error: Cannot use "self" when no class scope is active in %s on line 3
H A D026.phpt8 Fatal error: Cannot use "parent" when no class scope is active in %s on line %d
/PHP-7.4/ext/reflection/tests/
H A Dbug38465.phpt20 echo "From global scope:\n";
50 From global scope:
/PHP-7.4/Zend/tests/grammar/
H A Dregression_005.phpt2 Test possible constant naming regression on procedural scope
H A Dregression_004.phpt2 Test possible function naming regression on procedural scope
H A Dregression_003.phpt2 Test to ensure ::class is still reserved in obj scope
/PHP-7.4/ext/ffi/tests/
H A D027.phpt80 FFI\ParserException: '[*]' not allowed in other than function prototype scope at line 1
81 FFI\ParserException: '[*]' not allowed in other than function prototype scope at line 1
82 FFI\ParserException: '[*]' not allowed in other than function prototype scope at line 1
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_opcode.h34 zend_class_entry *scope; member

Completed in 44 milliseconds

12345678