Home
last modified time | relevance | path

Searched refs:scope (Results 76 – 100 of 197) sorted by last modified time

12345678

/PHP-7.4/Zend/
H A Dzend_constants.c233 ZEND_API int zend_verify_const_access(zend_class_constant *c, zend_class_entry *scope) /* {{{ */ in zend_verify_const_access() argument
238 return (c->ce == scope); in zend_verify_const_access()
241 return zend_check_protected(c->ce, scope); in zend_verify_const_access()
322 ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, uint32_t flags) in zend_get_constant_ex() argument
347 if (UNEXPECTED(!scope)) { in zend_get_constant_ex()
351 ce = scope; in zend_get_constant_ex()
353 if (UNEXPECTED(!scope)) { in zend_get_constant_ex()
356 } else if (UNEXPECTED(!scope->parent)) { in zend_get_constant_ex()
360 ce = scope->parent; in zend_get_constant_ex()
380 if (!zend_verify_const_access(c, scope)) { in zend_get_constant_ex()
H A Dzend_constants.h81 ZEND_API zval *zend_get_constant_ex(zend_string *name, zend_class_entry *scope, uint32_t flags);
H A Dzend_compile.h420 zend_class_entry *scope; member
469 zend_class_entry *scope; member
481 …SCOPE_NAME(function) ((function) && (function)->common.scope ? ZSTR_VAL((function)->common.scope-…
492 zend_class_entry *scope; member
H A Dzend_API.h337 ZEND_API void zend_update_property_ex(zend_class_entry *scope, zval *object, zend_string *name, zva…
338 ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, size_t …
339 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, si…
346 ZEND_API void zend_unset_property(zend_class_entry *scope, zval *object, const char *name, size_t n…
348 ZEND_API int zend_update_static_property_ex(zend_class_entry *scope, zend_string *name, zval *value…
349 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, size_t name_len…
350 ZEND_API int zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t nam…
357 ZEND_API zval *zend_read_property_ex(zend_class_entry *scope, zval *object, zend_string *name, zend…
360 ZEND_API zval *zend_read_static_property_ex(zend_class_entry *scope, zend_string *name, zend_bool s…
361 ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_len…
[all …]
H A Dzend_ast.h275 ZEND_API int ZEND_FASTCALL zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry *scope);
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dparent_in_class.phpt43 Deprecated: Cannot use "parent" when current class scope has no parent in %s on line %d
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_043.phpt46 Cannot access parent:: when current class scope has no parent
/PHP-7.4/Zend/tests/
H A Dclosure_041.phpt2 Closure 041: Rebinding: preservation of previous scope when not given as arg unless impossible
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_044.phpt5 /* A non-static closure has a bound instance if it has a scope
6 * and doesn't have an instance if it has no scope */
24 echo "After binding, null scope, no instance", "\n";
28 echo "After binding, null scope, with instance", "\n";
32 echo "After binding, with scope, no instance", "\n";
36 echo "After binding, with scope, with instance", "\n";
49 After binding, null scope, no instance
58 After binding, null scope, with instance
65 After binding, with scope, no instance
74 After binding, with scope, with instance
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 Dget_class_vars_002.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
H A Dclass_name_as_scalar_error_002.phpt14 Deprecated: Cannot use "parent" when current class scope has no parent in %s on line %d
16 Fatal error: Uncaught Error: Cannot use "parent" when current class scope has no parent in %s:%d
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 Dbug45186.phpt2 Bug #45186 (__call depends on __callstatic in class scope)
54 …ts parameter 1 to be a valid callback, cannot access self:: when no class scope is active in %sbug…
H A Dbug45186_2.phpt2 Bug #45186.2 (__call depends on __callstatic in class scope)
50 …ts parameter 1 to be a valid callback, cannot access self:: when no class scope is active in %sbug…
H A Dbug47320.phpt2 Bug #47320 ($php_errormsg out of scope in functions)
H A Dbug69017.phpt2 #69017 (Fail to push to the empty array with the constant value defined in class scope)
H A D020.phpt26 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
/PHP-7.4/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";
210 Function scope cannot closure over protected instance method
211 Function scope cannot closure over private instance method

Completed in 49 milliseconds

12345678