Lines Matching refs:value
101 int ds_zval_isset(zval *value, int check_empty) in ds_zval_isset() argument
103 if (value == NULL) { in ds_zval_isset()
108 return Z_TYPE_P(value) != IS_NULL; in ds_zval_isset()
111 return zend_is_true(value); in ds_zval_isset()
149 void smart_str_appendz(smart_str *buffer, zval *value) in smart_str_appendz() argument
151 switch (Z_TYPE_P(value)) { in smart_str_appendz()
153 smart_str_append(buffer, Z_STR_P(value)); in smart_str_appendz()
156 smart_str_append_long(buffer, Z_LVAL_P(value)); in smart_str_appendz()
160 zend_string *str = zval_get_string(value); in smart_str_appendz()
209 bool ds_is_traversable(zval *value) in ds_is_traversable() argument
211 return Z_TYPE_P(value) == IS_OBJECT && in ds_is_traversable()
212 instanceof_function(Z_OBJCE_P(value), zend_ce_traversable); in ds_is_traversable()
215 bool ds_is_array(zval *value) in ds_is_array() argument
217 return Z_TYPE_P(value) == IS_ARRAY; in ds_is_array()