- Mbstring:
. Fixed bug #79787 (mb_strimwidth does not trim string). (XXiang)
+- Reflection:
+ . Fixed bug #79487 (::getStaticProperties() ignores property modifications).
+ (cmb, Nikita)
+ . Fixed bug #69804 (::getStaticPropertyValue() throws on protected props).
+ (cmb, Nikita)
+ . Fixed bug #79820 (Use after free when type duplicated into
+ ReflectionProperty gets resolved). (Christopher Broadbent)
+
- Standard:
. Fixed bug #70362 (Can't copy() large 'data://' with open_basedir). (cmb)
- . Fixed bug #79817 (str_replace() does not handle INDIRECT elements). (Nikita)
+ . Fixed bug #78008 (dns_check_record() always return true on Alpine).
+ (Andy Postnikov)
-?? ??? ????, PHP 7.3.20
+09 Jul 2020, PHP 7.4.8
- Core:
+ . Fixed bug #79595 (zend_init_fpu() alters FPU precision). (cmb, Nikita)
. Fixed bug #79650 (php-win.exe 100% cpu lockup). (cmb)
. Fixed bug #79668 (get_defined_functions(true) may miss functions). (cmb,
Nikita)
Check DNS records corresponding to a given Internet host name or IP address */
PHP_FUNCTION(dns_check_record)
{
- #ifndef MAXPACKET
- #define MAXPACKET 8192 /* max packet size used internally by BIND */
- #endif
- u_char ans[MAXPACKET];
+ HEADER *hp;
+ querybuf answer;
char *hostname, *rectype = NULL;
size_t hostname_len, rectype_len = 0;
- int type = T_MX, i;
+ int type = DNS_T_MX, i;
#if defined(HAVE_DNS_SEARCH)
struct sockaddr_storage from;
uint32_t fromsize = sizeof(from);