Lines Matching refs:z
52 static void zend_persist_zval_calc(zval *z);
121 static void zend_persist_zval_calc(zval *z) in zend_persist_zval_calc() argument
126 switch (Z_TYPE_P(z)) { in zend_persist_zval_calc()
129 flags = Z_GC_FLAGS_P(z) & ~ (IS_STR_PERSISTENT | IS_STR_INTERNED | IS_STR_PERMANENT); in zend_persist_zval_calc()
130 ADD_INTERNED_STRING(Z_STR_P(z), 0); in zend_persist_zval_calc()
131 if (ZSTR_IS_INTERNED(Z_STR_P(z))) { in zend_persist_zval_calc()
132 Z_TYPE_FLAGS_P(z) &= ~ (IS_TYPE_REFCOUNTED | IS_TYPE_COPYABLE); in zend_persist_zval_calc()
134 Z_GC_FLAGS_P(z) |= flags; in zend_persist_zval_calc()
137 size = zend_shared_memdup_size(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval_calc()
140 zend_hash_persist_calc(Z_ARRVAL_P(z), zend_persist_zval_calc); in zend_persist_zval_calc()
144 size = zend_shared_memdup_size(Z_REF_P(z), sizeof(zend_reference)); in zend_persist_zval_calc()
147 zend_persist_zval_calc(Z_REFVAL_P(z)); in zend_persist_zval_calc()
151 size = zend_shared_memdup_size(Z_AST_P(z), sizeof(zend_ast_ref)); in zend_persist_zval_calc()
154 zend_persist_ast_calc(Z_ASTVAL_P(z)); in zend_persist_zval_calc()