Lines Matching refs:zvalue
30 ZEND_API void ZEND_FASTCALL zval_copy_ctor_func(zval *zvalue);
51 static zend_always_inline void zval_copy_ctor(zval *zvalue) in zval_copy_ctor() argument
53 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in zval_copy_ctor()
54 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_copy_ctor()
55 } else if (Z_REFCOUNTED_P(zvalue)) { in zval_copy_ctor()
56 Z_ADDREF_P(zvalue); in zval_copy_ctor()
60 static zend_always_inline void zval_opt_copy_ctor(zval *zvalue) in zval_opt_copy_ctor() argument
62 if (Z_OPT_TYPE_P(zvalue) == IS_ARRAY) { in zval_opt_copy_ctor()
63 ZVAL_ARR(zvalue, zend_array_dup(Z_ARR_P(zvalue))); in zval_opt_copy_ctor()
64 } else if (Z_OPT_REFCOUNTED_P(zvalue)) { in zval_opt_copy_ctor()
65 Z_ADDREF_P(zvalue); in zval_opt_copy_ctor()
80 ZEND_API void zval_internal_ptr_dtor(zval *zvalue);
83 #define zval_dtor(zvalue) zval_ptr_dtor_nogc(zvalue) argument