/PHP-7.4/Zend/ |
H A D | zend_constants.c | 233 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 D | zend_constants.h | 81 ZEND_API zval *zend_get_constant_ex(zend_string *name, zend_class_entry *scope, uint32_t flags);
|
H A D | zend_compile.h | 420 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 D | zend_API.h | 337 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 D | zend_ast.h | 275 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 D | parent_in_class.phpt | 43 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 D | typed_properties_043.phpt | 46 Cannot access parent:: when current class scope has no parent
|
/PHP-7.4/Zend/tests/ |
H A D | closure_041.phpt | 2 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 D | closure_044.phpt | 5 /* 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 D | closure_046.phpt | 2 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 D | get_class_vars_002.phpt | 2 get_class_vars(): Testing the scope
|
H A D | globals_001.phpt | 2 globals in global scope
|
H A D | globals_002.phpt | 2 globals in local scope
|
H A D | globals_003.phpt | 2 globals in local scope - 2
|
H A D | globals_004.phpt | 2 globals in local scope - 3
|
H A D | class_name_as_scalar_error_002.phpt | 14 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 D | dynamic_call_005.phpt | 2 Dynamic calls to scope introspection functions are forbidden
|
H A D | dynamic_call_006.phpt | 2 Dynamic calls to scope introspection functions are forbidden (function variations)
|
H A D | dynamic_call_007.phpt | 2 Dynamic calls to scope introspection functions are forbidden (misoptimization)
|
H A D | bug45186.phpt | 2 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 D | bug45186_2.phpt | 2 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 D | bug47320.phpt | 2 Bug #47320 ($php_errormsg out of scope in functions)
|
H A D | bug69017.phpt | 2 #69017 (Fail to push to the empty array with the constant value defined in class scope)
|
H A D | 020.phpt | 26 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 D | closure_from_callable_error.phpt | 156 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
|