Home
last modified time | relevance | path

Searched refs:rectype (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/standard/
H A Ddns_win32.c99 zend_string *rectype = NULL; in PHP_FUNCTION() local
114 if (rectype) { in PHP_FUNCTION()
115 if (zend_string_equals_literal_ci(rectype, "A")) type = DNS_TYPE_A; in PHP_FUNCTION()
116 else if (zend_string_equals_literal_ci(rectype, "NS")) type = DNS_TYPE_NS; in PHP_FUNCTION()
117 else if (zend_string_equals_literal_ci(rectype, "MX")) type = DNS_TYPE_MX; in PHP_FUNCTION()
118 else if (zend_string_equals_literal_ci(rectype, "PTR")) type = DNS_TYPE_PTR; in PHP_FUNCTION()
119 else if (zend_string_equals_literal_ci(rectype, "ANY")) type = DNS_TYPE_ANY; in PHP_FUNCTION()
120 else if (zend_string_equals_literal_ci(rectype, "SOA")) type = DNS_TYPE_SOA; in PHP_FUNCTION()
121 else if (zend_string_equals_literal_ci(rectype, "TXT")) type = DNS_TYPE_TEXT; in PHP_FUNCTION()
124 else if (zend_string_equals_literal_ci(rectype, "SRV")) type = DNS_TYPE_SRV; in PHP_FUNCTION()
[all …]
H A Ddns.c390 zend_string *rectype = NULL; in PHP_FUNCTION() local
404 Z_PARAM_STR(rectype) in PHP_FUNCTION()
412 if (rectype) { in PHP_FUNCTION()
413 if (zend_string_equals_literal_ci(rectype, "A")) type = DNS_T_A; in PHP_FUNCTION()
414 else if (zend_string_equals_literal_ci(rectype, "NS")) type = DNS_T_NS; in PHP_FUNCTION()
415 else if (zend_string_equals_literal_ci(rectype, "MX")) type = DNS_T_MX; in PHP_FUNCTION()
416 else if (zend_string_equals_literal_ci(rectype, "PTR")) type = DNS_T_PTR; in PHP_FUNCTION()
417 else if (zend_string_equals_literal_ci(rectype, "ANY")) type = DNS_T_ANY; in PHP_FUNCTION()
418 else if (zend_string_equals_literal_ci(rectype, "SOA")) type = DNS_T_SOA; in PHP_FUNCTION()
419 else if (zend_string_equals_literal_ci(rectype, "CAA")) type = DNS_T_CAA; in PHP_FUNCTION()
[all …]

Completed in 10 milliseconds