Home
last modified time | relevance | path

Searched refs:scope (Results 101 – 125 of 197) sorted by relevance

12345678

/PHP-7.4/Zend/tests/
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 Dglobals_001.phpt2 globals in global scope
H A Ddynamic_call_005.phpt2 Dynamic calls to scope introspection functions are forbidden
H A Dbug47320.phpt2 Bug #47320 ($php_errormsg out of scope in functions)
H A Dglobals_002.phpt2 globals in local scope
H A Dbug75218.phpt23 __HALT_COMPILER() can only be used from the outermost scope
H A Dget_class_vars_004.phpt2 get_class_vars(): Testing the scope
H A Dglobals_003.phpt2 globals in local scope - 2
H A Dbug70685.phpt21 Warning: Cannot rebind scope of closure created from method in %s on line %d
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 D020.phpt26 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
H A Dclosure_042.phpt2 Closure 042: Binding an instance to a non-scoped non-static closures gives it a dummy scope
H A Dget_class_vars_002.phpt2 get_class_vars(): Testing the scope
H A Dbug69017.phpt2 #69017 (Fail to push to the empty array with the constant value defined in class scope)
H A Dget_class_methods_003.phpt2 get_class_methods(): Testing scope
H A D001.phpt57 Warning: func_num_args(): Called from the global scope - no function context in %s on line %d
/PHP-7.4/ext/standard/tests/class_object/
H A Dget_object_vars_basic_001.phpt50 echo "\n---( Global scope: )---\n";
62 ---( Global scope: )---
H A Dget_parent_class_variation_001.phpt6 * Description: Retrieves the parent class name for object or class or current scope.
H A Dget_class_methods_basic_002.phpt60 echo "Accessing D from global scope:\n";
70 Accessing D from global scope:
/PHP-7.4/ext/opcache/Optimizer/
H A Dpass1_5.c195 if (op_array->scope && in zend_optimizer_pass1()
197 ZSTR_VAL(op_array->scope->name), Z_STRLEN(ZEND_OP1_LITERAL(opline)) + 1)) { in zend_optimizer_pass1()
198 ce = op_array->scope; in zend_optimizer_pass1()
209 } else if (op_array->scope && in zend_optimizer_pass1()
213 ce = op_array->scope; in zend_optimizer_pass1()
214 } else if (op_array->scope && in zend_optimizer_pass1()
221 ce = op_array->scope; in zend_optimizer_pass1()
H A Dzend_optimizer.c799 } else if (opline->op1_type == IS_UNUSED && op_array->scope in get_class_entry_from_op1()
800 && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT) in get_class_entry_from_op1()
802 return op_array->scope; in get_class_entry_from_op1()
856 zend_bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func()
867 && op_array->scope && !(op_array->scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_optimizer_get_called_func()
870 &op_array->scope->function_table, method_name); in zend_optimizer_get_called_func()
874 zend_bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func()
1361 if (op_array->scope == ce in zend_optimize_script()
1477 if (op_array->scope == ce in zend_optimize_script()
1493 zend_hash_find_ptr(&op_array->scope->function_table, name); in zend_optimize_script()
[all …]
/PHP-7.4/ext/spl/
H A Dspl_fixedarray.c255 if (funcs_ptr->zf_rewind->common.scope != parent) { in spl_fixedarray_object_new_ex()
258 if (funcs_ptr->zf_valid->common.scope != parent) { in spl_fixedarray_object_new_ex()
261 if (funcs_ptr->zf_key->common.scope != parent) { in spl_fixedarray_object_new_ex()
264 if (funcs_ptr->zf_current->common.scope != parent) { in spl_fixedarray_object_new_ex()
267 if (funcs_ptr->zf_next->common.scope != parent) { in spl_fixedarray_object_new_ex()
272 if (intern->fptr_offset_get->common.scope == parent) { in spl_fixedarray_object_new_ex()
276 if (intern->fptr_offset_set->common.scope == parent) { in spl_fixedarray_object_new_ex()
280 if (intern->fptr_offset_has->common.scope == parent) { in spl_fixedarray_object_new_ex()
284 if (intern->fptr_offset_del->common.scope == parent) { in spl_fixedarray_object_new_ex()
288 if (intern->fptr_count->common.scope == parent) { in spl_fixedarray_object_new_ex()
/PHP-7.4/tests/classes/
H A D__call_004.phpt2 When __call() is invoked via ::, ensure current scope's __call() is favoured over the specified cla…
/PHP-7.4/Zend/
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 …]

Completed in 57 milliseconds

12345678