Home
last modified time | relevance | path

Searched refs:static_variables (Results 1 – 14 of 14) sorted by relevance

/php-src/Zend/
H A Dzend_closures.c525 closure->func.op_array.static_variables = NULL; in zend_closure_free_storage()
617 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) { in zend_closure_get_debug_info()
624 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(static_variables, key, var) { in zend_closure_get_debug_info()
758 if (closure->func.op_array.static_variables) { in zend_create_closure_ex()
759 closure->func.op_array.static_variables = in zend_create_closure_ex()
760 zend_array_dup(closure->func.op_array.static_variables); in zend_create_closure_ex()
763 closure->func.op_array.static_variables); in zend_create_closure_ex()
764 } else if (func->op_array.static_variables) { in zend_create_closure_ex()
768 ht = zend_array_dup(func->op_array.static_variables); in zend_create_closure_ex()
904 zend_hash_update(static_variables, var_name, var); in zend_closure_bind_var()
[all …]
H A Dzend_opcode.c82 op_array->static_variables = NULL; in init_op_array()
634 if (op_array->static_variables) { in destroy_op_array()
635 zend_array_destroy(op_array->static_variables); in destroy_op_array()
641 if (op_array->dynamic_func_defs[i]->static_variables in destroy_op_array()
643 zend_array_destroy(op_array->dynamic_func_defs[i]->static_variables); in destroy_op_array()
644 op_array->dynamic_func_defs[i]->static_variables = NULL; in destroy_op_array()
H A Dzend_compile.c5471 if (!CG(active_op_array)->static_variables) { in zend_compile_static_var_common()
5475 CG(active_op_array)->static_variables = zend_new_array(8); in zend_compile_static_var_common()
5500 if (!CG(active_op_array)->static_variables) { in zend_compile_static_var()
5504 CG(active_op_array)->static_variables = zend_new_array(8); in zend_compile_static_var()
5507 if (zend_hash_exists(CG(active_op_array)->static_variables, var_name)) { in zend_compile_static_var()
7860 if (!op_array->static_variables) { in zend_compile_closure_binding()
7861 op_array->static_variables = zend_new_array(8); in zend_compile_closure_binding()
7891 (uint32_t)((char*)value - (char*)op_array->static_variables->arData) | mode; in zend_compile_closure_binding()
7981 if (!op_array->static_variables) { in compile_implicit_lexical_binds()
7982 op_array->static_variables = zend_new_array(8); in compile_implicit_lexical_binds()
[all …]
H A Dzend_compile.h527 HashTable *static_variables; member
H A Dzend_inheritance.c2357 if (fn->type == ZEND_USER_FUNCTION && fn->op_array.static_variables) { in zend_fixup_trait_method()
H A Dzend_vm_def.h9042 ht = zend_array_dup(EX(func)->op_array.static_variables);
H A Dzend_vm_execute.h41727 ht = zend_array_dup(EX(func)->op_array.static_variables); in ZEND_BIND_STATIC_SPEC_CV_HANDLER()
/php-src/ext/opcache/
H A Dzend_persist_calc.c229 if (op_array->static_variables && !zend_accel_in_shm(op_array->static_variables)) { in zend_persist_op_array_calc_ex()
230 if (!zend_shared_alloc_get_xlat_entry(op_array->static_variables)) { in zend_persist_op_array_calc_ex()
233 zend_shared_alloc_register_xlat_entry(op_array->static_variables, op_array->static_variables); in zend_persist_op_array_calc_ex()
235 zend_hash_persist_calc(op_array->static_variables); in zend_persist_op_array_calc_ex()
236 ZEND_HASH_MAP_FOREACH_BUCKET(op_array->static_variables, p) { in zend_persist_op_array_calc_ex()
H A Dzend_persist.c425 if (op_array->static_variables) { in zend_persist_op_array_ex()
426 op_array->static_variables = zend_shared_alloc_get_xlat_entry(op_array->static_variables); in zend_persist_op_array_ex()
427 ZEND_ASSERT(op_array->static_variables != NULL); in zend_persist_op_array_ex()
492 if (op_array->static_variables && !zend_accel_in_shm(op_array->static_variables)) { in zend_persist_op_array_ex()
495 zend_hash_persist(op_array->static_variables); in zend_persist_op_array_ex()
496 ZEND_HASH_MAP_FOREACH_BUCKET(op_array->static_variables, p) { in zend_persist_op_array_ex()
501 …op_array->static_variables = zend_shared_memdup_put_free(op_array->static_variables, sizeof(HashTa… in zend_persist_op_array_ex()
503 GC_SET_REFCOUNT(op_array->static_variables, 2); in zend_persist_op_array_ex()
693 if (op_array->static_variables) { in zend_persist_op_array()
774 if (op_array->static_variables) { in zend_persist_class_method()
[all …]
H A Dzend_file_cache.c478 SERIALIZE_PTR(op_array->static_variables);
497 if (op_array->static_variables) {
500 SERIALIZE_PTR(op_array->static_variables);
501 ht = op_array->static_variables;
1343 if (op_array->static_variables) {
1360 UNSERIALIZE_PTR(op_array->static_variables);
1377 if (op_array->static_variables) {
1380 UNSERIALIZE_PTR(op_array->static_variables);
1381 ht = op_array->static_variables;
H A DZendAccelerator.c4197 HashTable *ht = op_array->static_variables;
4203 op_array->static_variables = ht;
/php-src/ext/reflection/
H A Dphp_reflection.c778 const HashTable *static_variables; in _function_closure_string() local
780 if (fptr->type != ZEND_USER_FUNCTION || !fptr->op_array.static_variables) { in _function_closure_string()
784 static_variables = ZEND_MAP_PTR_GET(fptr->op_array.static_variables_ptr); in _function_closure_string()
785 count = zend_hash_num_elements(static_variables); in _function_closure_string()
794 ZEND_HASH_MAP_FOREACH_STR_KEY(static_variables, key) { in _function_closure_string()
1793 closure_func->op_array.static_variables == NULL) { in ZEND_METHOD()
1799 HashTable *static_variables = ZEND_MAP_PTR_GET(ops->static_variables_ptr); in ZEND_METHOD() local
1801 if (!static_variables) { in ZEND_METHOD()
1816 (((char*)static_variables->arData) + in ZEND_METHOD()
1992 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.static_variables != NULL) { in ZEND_METHOD()
[all …]
/php-src/Zend/Optimizer/
H A Ddce.c247 if (op_array->static_variables) { in may_have_side_effects()
H A Dzend_optimizer.c1749 HashTable *ht = op_array->static_variables; in zend_optimize_script()
1754 op_array->static_variables = ht; in zend_optimize_script()

Completed in 275 milliseconds