Searched refs:static_variables (Results 1 – 11 of 11) sorted by relevance
/PHP-5.5/Zend/ |
H A D | zend_closures.c | 333 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) { in zend_closure_get_debug_info() 334 HashTable *static_variables = closure->func.op_array.static_variables; in zend_closure_get_debug_info() local 337 …zend_hash_copy(Z_ARRVAL_P(val), static_variables, (copy_ctor_func_t)zval_add_ref, NULL, sizeof(zva… in zend_closure_get_debug_info() 385 closure->func.op_array.static_variables : NULL; in zend_closure_get_gc() 461 if (closure->func.op_array.static_variables) { in zend_create_closure() 462 HashTable *static_variables = closure->func.op_array.static_variables; in zend_create_closure() local 464 ALLOC_HASHTABLE(closure->func.op_array.static_variables); in zend_create_closure() 465 …zend_hash_init(closure->func.op_array.static_variables, zend_hash_num_elements(static_variables), … in zend_create_closure() 466 …apply_with_arguments(static_variables TSRMLS_CC, (apply_func_args_t)zval_copy_static_var, 1, closu… in zend_create_closure()
|
H A D | zend_generators.c | 269 if (op_array->static_variables) { in zend_generator_create_zval() 270 ALLOC_HASHTABLE(op_array_copy->static_variables); in zend_generator_create_zval() 272 op_array_copy->static_variables, in zend_generator_create_zval() 273 zend_hash_num_elements(op_array->static_variables), in zend_generator_create_zval() 277 op_array->static_variables TSRMLS_CC, in zend_generator_create_zval() 279 1, op_array_copy->static_variables in zend_generator_create_zval()
|
H A D | zend_opcode.c | 91 op_array->static_variables = NULL; in init_op_array() 133 if (op_array->static_variables) { in zend_cleanup_op_array_data() 134 zend_hash_clean(op_array->static_variables); in zend_cleanup_op_array_data() 360 if (op_array->static_variables) { in destroy_op_array() 361 zend_hash_destroy(op_array->static_variables); in destroy_op_array() 362 FREE_HASHTABLE(op_array->static_variables); in destroy_op_array()
|
H A D | zend_execute.c | 982 if (!EG(active_op_array)->static_variables) { in zend_get_target_symbol_table() 983 ALLOC_HASHTABLE(EG(active_op_array)->static_variables); in zend_get_target_symbol_table() 984 zend_hash_init(EG(active_op_array)->static_variables, 2, NULL, ZVAL_PTR_DTOR, 0); in zend_get_target_symbol_table() 986 return EG(active_op_array)->static_variables; in zend_get_target_symbol_table()
|
H A D | zend_compile.c | 2985 if (op_array->static_variables) { in function_add_ref() 2986 HashTable *static_variables = op_array->static_variables; in function_add_ref() local 2989 ALLOC_HASHTABLE(op_array->static_variables); in function_add_ref() 2990 …zend_hash_init(op_array->static_variables, zend_hash_num_elements(static_variables), NULL, ZVAL_PT… in function_add_ref() 2991 …zend_hash_copy(op_array->static_variables, static_variables, (copy_ctor_func_t) zval_add_ref, (voi… in function_add_ref() 3965 if (fn->type == ZEND_USER_FUNCTION && fn->op_array.static_variables) { in zend_fixup_trait_method() 4479 function->op_array.static_variables = NULL; /* NULL out the unbound function */ in do_bind_function() 5988 if (!CG(active_op_array)->static_variables) { in zend_do_fetch_static_variable() 5992 ALLOC_HASHTABLE(CG(active_op_array)->static_variables); in zend_do_fetch_static_variable() 5993 zend_hash_init(CG(active_op_array)->static_variables, 2, NULL, ZVAL_PTR_DTOR, 0); in zend_do_fetch_static_variable() [all …]
|
H A D | zend_compile.h | 294 HashTable *static_variables; member
|
/PHP-5.5/ext/opcache/ |
H A D | zend_persist_calc.c | 198 if (op_array->static_variables) { 199 ADD_DUP_SIZE(op_array->static_variables, sizeof(HashTable)); 200 …ADD_SIZE(zend_hash_persist_calc(op_array->static_variables, (int (*)(void* TSRMLS_DC)) zend_persis…
|
H A D | zend_accelerator_util_funcs.c | 56 if (function->op_array.static_variables) { in zend_accel_destroy_zend_function() 58 efree(function->op_array.static_variables); in zend_accel_destroy_zend_function() 59 function->op_array.static_variables = NULL; in zend_accel_destroy_zend_function() 603 HashTable *shared_statics = op_array->static_variables; 611 ALLOC_HASHTABLE(op_array->static_variables); 612 zend_hash_clone_zval(op_array->static_variables, shared_statics, 0);
|
H A D | zend_persist.c | 384 if (op_array->static_variables) { 385 …zend_hash_persist(op_array->static_variables, (zend_persist_func_t) zend_persist_zval_ptr, sizeof(… 386 zend_accel_store(op_array->static_variables, sizeof(HashTable));
|
H A D | ZendAccelerator.c | 2226 if (function->op_array.static_variables) { 2227 function->op_array.static_variables->pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor; 2228 accel_fast_hash_destroy(function->op_array.static_variables); 2229 function->op_array.static_variables = NULL; 2240 if (function->op_array.static_variables) { 2241 function->op_array.static_variables->pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor; 2242 accel_fast_hash_destroy(function->op_array.static_variables); 2243 function->op_array.static_variables = NULL;
|
/PHP-5.5/ext/reflection/ |
H A D | php_reflection.c | 794 HashTable *static_variables; in _function_closure_string() local 797 if (fptr->type != ZEND_USER_FUNCTION || !fptr->op_array.static_variables) { in _function_closure_string() 801 static_variables = fptr->op_array.static_variables; in _function_closure_string() 802 count = zend_hash_num_elements(static_variables); in _function_closure_string() 809 …string_printf(str, "%s- Bound Variables [%d] {\n", indent, zend_hash_num_elements(static_variables… in _function_closure_string() 810 zend_hash_internal_pointer_reset_ex(static_variables, &pos); in _function_closure_string() 813 zend_hash_get_current_key_ex(static_variables, &key, &key_len, &num_index, 0, &pos); in _function_closure_string() 815 zend_hash_move_forward_ex(static_variables, &pos); in _function_closure_string() 1887 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.static_variables != NULL) { in ZEND_METHOD() 1888 …zend_hash_apply_with_argument(fptr->op_array.static_variables, (apply_func_arg_t) zval_update_cons… in ZEND_METHOD() [all …]
|
Completed in 97 milliseconds