Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77369 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81874 invoked from network); 20 Sep 2014 06:05:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Sep 2014 06:05:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.50 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.218.50 mail-oi0-f50.google.com Received: from [209.85.218.50] ([209.85.218.50:43089] helo=mail-oi0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/2B-13213-6191D145 for ; Sat, 20 Sep 2014 02:05:11 -0400 Received: by mail-oi0-f50.google.com with SMTP id a141so1708268oig.37 for ; Fri, 19 Sep 2014 23:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LqWLqTTpgEzCwZsCSZHHXNCz57i1TZmvCidlSZG9T2c=; b=ClOv9jjPgB2XEyTEBhl/F5+WUKDjboNKfa/iek4sDezhG+LYxvWjCXl5iKxqZpRLSZ KrOqDcK02Tdxg9RCQhqR+ww5xiT/YUYHhun2Nz72+rZh2KbKZM1P2HLOnaPBXVdYJZ5F JGafFV6/rgV1K5g4UeUMBywGeswb2laIMkeOJC8bxmyCLygtrmhEAlT4YbLzDkyhSAlc I55ENraEeZUrXxishNT1IK4uUSPGUba6s/Qo2IWYQWHTov7HU0jpJixAXzTF3cxP+zKO naBfViBSmyIYHrqUBoGVhXXSaKl0r9vi7U6pMAAruUAQ0RrZg7FOMyV5AMRaZRqvQGnT wK+A== MIME-Version: 1.0 X-Received: by 10.182.213.7 with SMTP id no7mr13515661obc.39.1411193107664; Fri, 19 Sep 2014 23:05:07 -0700 (PDT) Received: by 10.202.227.206 with HTTP; Fri, 19 Sep 2014 23:05:07 -0700 (PDT) Received: by 10.202.227.206 with HTTP; Fri, 19 Sep 2014 23:05:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Sep 2014 23:05:07 -0700 Message-ID: To: Michael Wallner Cc: PHP internals list Content-Type: multipart/alternative; boundary=001a11c2f682e459d7050378ffdf Subject: Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior From: kris.craig@gmail.com (Kris Craig) --001a11c2f682e459d7050378ffdf Content-Type: text/plain; charset=UTF-8 On Sep 19, 2014 10:50 PM, "Michael Wallner" wrote: > > > On 20 Sep 2014 04:15, "Kris Craig" wrote: > > > > > > > From what I can tell, there are valid arguments to be made for both, so I > > would love to see some discussion/debate here regarding which solution > > should be implemented, as I'm currently undecided. Also please feel free > > to point out any areas of improvement for the RFC itself. > > > > Functions don't throw E_ERROR on missing argument. > > And ANY is about as bad as MX. I can fix that. What would be the customary one to throw for a missing arg? --Kris --001a11c2f682e459d7050378ffdf--