Searched refs:static_variables (Results 1 – 6 of 6) sorted by relevance
/PHP-5.4/Zend/ |
H A D | zend_closures.c | 334 if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) { in zend_closure_get_debug_info() 335 HashTable *static_variables = closure->func.op_array.static_variables; in zend_closure_get_debug_info() local 338 …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() 386 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_opcode.c | 88 op_array->static_variables = NULL; in init_op_array() 129 if (op_array->static_variables) { in zend_cleanup_op_array_data() 130 zend_hash_clean(op_array->static_variables); in zend_cleanup_op_array_data() 351 if (op_array->static_variables) { in destroy_op_array() 352 zend_hash_destroy(op_array->static_variables); in destroy_op_array() 353 FREE_HASHTABLE(op_array->static_variables); in destroy_op_array()
|
H A D | zend_execute.c | 983 if (!EG(active_op_array)->static_variables) { in zend_get_target_symbol_table() 984 ALLOC_HASHTABLE(EG(active_op_array)->static_variables); in zend_get_target_symbol_table() 985 zend_hash_init(EG(active_op_array)->static_variables, 2, NULL, ZVAL_PTR_DTOR, 0); in zend_get_target_symbol_table() 987 return EG(active_op_array)->static_variables; in zend_get_target_symbol_table()
|
H A D | zend_compile.c | 2793 if (op_array->static_variables) { in function_add_ref() 2794 HashTable *static_variables = op_array->static_variables; in function_add_ref() local 2797 ALLOC_HASHTABLE(op_array->static_variables); in function_add_ref() 2798 …zend_hash_init(op_array->static_variables, zend_hash_num_elements(static_variables), NULL, ZVAL_PT… in function_add_ref() 2799 …zend_hash_copy(op_array->static_variables, static_variables, (copy_ctor_func_t) zval_add_ref, (voi… in function_add_ref() 3771 if (fn->op_array.static_variables) { in zend_fixup_trait_method() 4267 function->op_array.static_variables = NULL; /* NULL out the unbound function */ in do_bind_function() 5756 if (!CG(active_op_array)->static_variables) { in zend_do_fetch_static_variable() 5760 ALLOC_HASHTABLE(CG(active_op_array)->static_variables); in zend_do_fetch_static_variable() 5761 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 | 284 HashTable *static_variables; member
|
/PHP-5.4/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() 1884 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.static_variables != NULL) { in ZEND_METHOD() 1885 …zend_hash_apply_with_argument(fptr->op_array.static_variables, (apply_func_arg_t) zval_update_cons… in ZEND_METHOD() [all …]
|
Completed in 56 milliseconds