Lines Matching refs:static_variables
715 HashTable *static_variables; in _function_closure_string() local
717 if (fptr->type != ZEND_USER_FUNCTION || !fptr->op_array.static_variables) { in _function_closure_string()
721 static_variables = fptr->op_array.static_variables; in _function_closure_string()
722 count = zend_hash_num_elements(static_variables); in _function_closure_string()
729 …pend_printf(str, "%s- Bound Variables [%d] {\n", indent, zend_hash_num_elements(static_variables)); in _function_closure_string()
731 ZEND_HASH_FOREACH_STR_KEY(static_variables, key) { in _function_closure_string()
1850 if (fptr->type == ZEND_USER_FUNCTION && fptr->op_array.static_variables != NULL) { in ZEND_METHOD()
1851 if (GC_REFCOUNT(fptr->op_array.static_variables) > 1) { in ZEND_METHOD()
1852 if (!(GC_FLAGS(fptr->op_array.static_variables) & IS_ARRAY_IMMUTABLE)) { in ZEND_METHOD()
1853 GC_REFCOUNT(fptr->op_array.static_variables)--; in ZEND_METHOD()
1855 fptr->op_array.static_variables = zend_array_dup(fptr->op_array.static_variables); in ZEND_METHOD()
1857 ZEND_HASH_FOREACH_VAL(fptr->op_array.static_variables, val) { in ZEND_METHOD()
1862 zend_hash_copy(Z_ARRVAL_P(return_value), fptr->op_array.static_variables, zval_add_ref); in ZEND_METHOD()