Home
last modified time | relevance | path

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

12345678910

/php-src/Zend/tests/
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
H A Dbug79919.phpt2 Bug #79919 (Stack use-after-scope in define())
H A Dhalt03.phpt11 Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %shalt03.php on line %d
H A D035.phpt2 Using 'static' and 'global' in global scope
H A Dbug45186_2.phpt2 Bug #45186.2 (__call depends on __callstatic in class scope)
60 …rgument #1 ($callback) must be a valid callback, cannot access "self" when no class scope is active
H A Dexception_003.phpt2 Throwing exception in global scope
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 Dbug70630.phpt10 Warning: Cannot rebind scope of closure created from function in %s on line %d
/php-src/tests/lang/
H A Dstatic_basic_001.phpt40 echo "\nUsing static keyword at global scope\n";
80 Using static keyword at global scope
H A Dfunc_get_args.003.phpt14 func_get_args() cannot be called from the global scope
H A Dfunc_get_arg.003.phpt14 func_get_arg() cannot be called from the global scope
/php-src/ext/reflection/tests/
H A Dbug38465.phpt20 echo "From global scope:\n";
50 From global scope:
/php-src/ext/ffi/tests/
H A D027.phpt82 FFI\ParserException: "[*]" is not allowed in other than function prototype scope at line 1
83 FFI\ParserException: "[*]" is not allowed in other than function prototype scope at line 1
84 FFI\ParserException: "[*]" is not allowed in other than function prototype scope at line 1
/php-src/Zend/tests/type_declarations/
H A Dstatic_type_outside_class.phpt10 Fatal error: Cannot use "static" when no class scope is active in %s on line %d
/php-src/Zend/
H A Dzend_inheritance.c213 ZEND_ASSERT(scope); in resolve_class_name()
216 return scope->parent->name; in resolve_class_name()
218 return scope->parent_name; in resolve_class_name()
221 return scope->name; in resolve_class_name()
285 return scope; in lookup_class_ex()
884 if (fptr->common.scope) { in zend_get_function_declaration()
1222 func, func->common.scope, parent, parent->common.scope, ce, child, in do_inherit_method()
1226 func, func->common.scope, parent, parent->common.scope, ce, child, in do_inherit_method()
1946 return fn->common.scope->ce_flags & ZEND_ACC_TRAIT ? ce : fn->common.scope; in fixup_trait_scope()
2023 fn->common.scope = ce; in zend_fixup_trait_method()
[all …]
/php-src/ext/hash/tests/
H A Dnew-context.phpt13 Exception: Call to private HashContext::__construct() from global scope
/php-src/Zend/tests/return_types/
H A D024.phpt9 Fatal error: Cannot use "self" when no class scope is active in %s on line 3
H A D026.phpt9 Fatal error: Cannot use "parent" when no class scope is active in %s on line %d
/php-src/ext/tidy/tests/
H A D035.phpt10 Fatal error: Uncaught Error: Call to private tidyNode::__construct() from global scope in %s:%d
/php-src/Zend/tests/grammar/
H A Dregression_005.phpt2 Test possible constant naming regression on procedural scope
/php-src/Zend/tests/readonly_props/
H A Dmagic_get_set.phpt67 Cannot initialize readonly property Test::$prop from global scope
68 Cannot unset readonly property Test::$prop from global scope

Completed in 26 milliseconds

12345678910