Home
last modified time | relevance | path

Searched refs:scope (Results 76 – 100 of 186) sorted by relevance

12345678

/PHP-7.3/Zend/tests/
H A Dclass_alias_019.phpt2 Trying to redeclare class name in global scope inside namespace
H A Dbug37046.phpt2 Bug #37046 (foreach breaks static scope)
H A Dclass_name_as_scalar_error_005.phpt10 Fatal error: Uncaught Error: Cannot use "static" when no class scope is active in %s:3
H A Dself_class_const_in_unknown_scope.phpt2 Use of self::class inside a constant in an unknown scope
H A Dclass_name_as_scalar_error_006.phpt10 Fatal error: Uncaught Error: Cannot use "parent" when no class scope is active in %s:3
H A Dclosure_004.phpt2 Closure 004: Lambda with lexical variables (scope lifetime)
H A Dself_in_eval.phpt2 self etc. can be used in eval() in a class scope
H A Dno_class_const_propagation_in_closures.phpt2 self:: class constants should not be propagated into closures, due to scope rebinding
H A Dclass_alias_016.phpt2 Testing creation of alias to global scope
H A Dbug71756.phpt2 Bug #71756 (Call-by-reference widens scope to uninvolved functions when used in switch)
H A Dglobals_004.phpt2 globals in local scope - 3
H A Dparent_class_name_without_parent.phpt20 Fatal error: Uncaught Error: Cannot use "parent" when current class scope has no parent in %s:5
H A Dclosure_036.phpt2 Closure 036: Rebinding closures, keep calling scope
H A Dbug65911.phpt2 Bug #65911 (scope resolution operator - strange behavior with $this)
H A Dget_class_methods_001.phpt2 get_class_methods(): Testing scope
H A Dget_class_vars_003.phpt2 get_class_vars(): Testing the scope
H A Ddynamic_call_005.phpt2 Dynamic calls to scope introspection functions are forbidden
H A Dglobals_001.phpt2 globals in global scope
/PHP-7.3/ext/standard/tests/array/
H A Dextract_variation11.phpt2 …n - ensure EXTR_REFS works when array is referenced and keys clash with variables in current scope.
/PHP-7.3/Zend/tests/assert/
H A Dbug70208.phpt2 Bug #70208 (scope information must be preserved with assert())
/PHP-7.3/tests/lang/
H A Dbug23922.phpt2 Bug #23922 (scope doesn't properly propagate into internal functions)
/PHP-7.3/ext/opcache/Optimizer/
H A Dpass1_5.c194 if (op_array->scope && in zend_optimizer_pass1()
196 ZSTR_VAL(op_array->scope->name), Z_STRLEN(ZEND_OP1_LITERAL(opline)) + 1)) { in zend_optimizer_pass1()
197 ce = op_array->scope; in zend_optimizer_pass1()
208 } else if (op_array->scope && in zend_optimizer_pass1()
212 ce = op_array->scope; in zend_optimizer_pass1()
213 } else if (op_array->scope && in zend_optimizer_pass1()
220 ce = op_array->scope; in zend_optimizer_pass1()
/PHP-7.3/Zend/
H A Dzend_ast.c446 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
460 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
475 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
493 zval *zv = zend_get_constant_ex(name, scope, ast->attr); in zend_ast_evaluate()
505 if (scope && scope->name) { in zend_ast_evaluate()
506 ZVAL_STR_COPY(result, scope->name); in zend_ast_evaluate()
512 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
530 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
548 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
573 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { in zend_ast_evaluate()
[all …]
/PHP-7.3/ext/standard/tests/class_object/
H A Dforward_static_call_002.phpt21 Fatal error: Uncaught Error: Cannot call forward_static_call() when no class scope is active in %s:…
H A Dget_object_vars_basic_001.phpt50 echo "\n---( Global scope: )---\n";
62 ---( Global scope: )---

Completed in 26 milliseconds

12345678