Lines Matching refs:zvalue
31 ZEND_API void ZEND_FASTCALL zval_copy_ctor_func(zval *zvalue);
52 static zend_always_inline void zval_copy_ctor(zval *zvalue) in zval_copy_ctor() argument
54 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in zval_copy_ctor()
55 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_copy_ctor()
56 } else if (Z_REFCOUNTED_P(zvalue)) { in zval_copy_ctor()
57 Z_ADDREF_P(zvalue); in zval_copy_ctor()
61 static zend_always_inline void zval_opt_copy_ctor(zval *zvalue) in zval_opt_copy_ctor() argument
63 if (Z_OPT_TYPE_P(zvalue) == IS_ARRAY) { in zval_opt_copy_ctor()
64 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_opt_copy_ctor()
65 } else if (Z_OPT_REFCOUNTED_P(zvalue)) { in zval_opt_copy_ctor()
66 Z_ADDREF_P(zvalue); in zval_opt_copy_ctor()
81 ZEND_API void zval_internal_ptr_dtor(zval *zvalue);
84 #define zval_dtor(zvalue) zval_ptr_dtor_nogc(zvalue) argument