Re: [RFC] Change checkdnsrr() $type argument behavior

From: Date: Tue, 23 Sep 2014 07:24:50 +0000
Subject: Re: [RFC] Change checkdnsrr() $type argument behavior
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-77503@lists.php.net to get a copy of this message
On 2014-09-23 06:00, Sanford Whiteman wrote: >> What would happen is it'd throw an E_DEPRECATED for at least the remainder >> of 5.x, then throw the usual E_WARNING for a missing argument starting in >> 7.x with no default. > > Sounds OK to me now that I've noticed this: > > https://bugs.php.net/bug.php?id=68081 > > Pretty sure that's a sane report, and it's enough to make me say > checkdnsrr() doesn't work now at all. Given that this function is over 16 years old [1] and guessing that it was used as a simple kind of email domain verification, I think checkdnsrr() works as expected [2], [3]. [1] http://marc.info/?l=php-internals&m=90222489331812&w=2 [2] http://tools.ietf.org/html/rfc2821#section-5 [3] http://tools.ietf.org/html/rfc5321#section-5.1 -- Regards, Mike

« previous php.internals (#77503) next »