Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77503 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49796 invoked from network); 23 Sep 2014 07:24:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2014 07:24:58 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.49 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.49 mail-wg0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:64839] helo=mail-wg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/F5-09206-74021245 for ; Tue, 23 Sep 2014 03:24:55 -0400 Received: by mail-wg0-f49.google.com with SMTP id x12so3911972wgg.32 for ; Tue, 23 Sep 2014 00:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=21zjjB6MG++WRuAZNKbwCsC2lcvmL45YJf0PS/vdMaU=; b=mH0eAHT+Arw701geWzgw9rIr40vP3KyfGnnkKfkI7bcw7wFQ30BIVPg7rPe2RAdV9I RGhDUXiG8EwT9ZN8cWCPU+quKnu94ClaCoZnx1eUy3sN+M2YigmQtlslf5rZiRzbS9W/ K8ksn3Pt5Ng5pau7EgKum5BrX0AzhFTFSQFNKqOlFdKrDPNE4UVFBCL+iSdQzvmE1hin LOibNYQaB4WDsIsHDV3nBWDm4ygc5AOcCDlS42g3bBee/DSokNZC/9e4ED62noEYyOGS r8esI9FexIH0bOFtFSoQHANLXNoTJIFvQIPcBKOURZ+uR0MVYKlWRTWBlzxF0E5rFz+K 6gKQ== X-Received: by 10.194.119.193 with SMTP id kw1mr5276589wjb.82.1411457092163; Tue, 23 Sep 2014 00:24:52 -0700 (PDT) Received: from [192.168.4.120] (178-18-170-101.customer.bnet.at. [178.18.170.101]) by mx.google.com with ESMTPSA id cy10sm14835148wjb.21.2014.09.23.00.24.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Sep 2014 00:24:51 -0700 (PDT) Sender: Michael Wallner Message-ID: <54212042.7060600@php.net> Date: Tue, 23 Sep 2014 09:24:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Sanford Whiteman , Kris Craig CC: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior From: mike@php.net (Michael Wallner) 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