Lines Matching refs:val
25 #define PHP_MAIL_BUILD_HEADER_CHECK(target, s, key, val) \ argument
27 if (Z_TYPE_P(val) == IS_STRING) { \
28 php_mail_build_headers_elem(&s, key, val); \
29 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
34 php_mail_build_headers_elems(&s, key, val); \
36 …"Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_type_name(val)); \
41 #define PHP_MAIL_BUILD_HEADER_DEFAULT(s, key, val) \ argument
43 if (Z_TYPE_P(val) == IS_STRING) { \
44 php_mail_build_headers_elem(&s, key, val); \
45 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
46 php_mail_build_headers_elems(&s, key, val); \
48 …"Header \"%s\" must be of type array|string, %s given", ZSTR_VAL(key), zend_zval_type_name(val)); \