Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63617 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71641 invoked from network); 25 Oct 2012 07:14:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Oct 2012 07:14:35 -0000 Authentication-Results: pb1.pair.com header.from=g.rossolini@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=g.rossolini@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: g.rossolini@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:52018] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/02-59506-AD6E8805 for ; Thu, 25 Oct 2012 03:14:35 -0400 Received: by mail-vc0-f170.google.com with SMTP id fo14so1617402vcb.29 for ; Thu, 25 Oct 2012 00:14:31 -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=cbgckP0VwxAhRAnMasG2TLbKsSwq0vvnDW2EiADMcI0=; b=dv9ezIe2NOs76C0Hw7eAAitLe/eTbVj7gcYdGDIUc9vCHL5g0t3EAGKc41zEzrdB1h cthz+qhrSGxDD0HiVOKjZFsRBLt03oYreB7DkDRWDN1si54n725r1i/4eqJmGo/aSjlk TbKMXmDmY+JOgucWQZJSoauqNEIZBc1iUlYWui61F6TDD+/RzdMTx37O7NS2VHTqOGPm u9XPbUVKZsjaTbUs5GTXpn2K2KZk58QX1A2hMAspjL7EfaFOxB0S2RsbHXEyAbNk3oVX VrJFf/IPPxmGvUBDAQNVJ8w+rKEOAOjZREMUx4OG8d0kofxOTp5oK19AD89b43h+ezTE 9yWg== MIME-Version: 1.0 Received: by 10.52.177.130 with SMTP id cq2mr24906026vdc.102.1351149271455; Thu, 25 Oct 2012 00:14:31 -0700 (PDT) Received: by 10.58.236.233 with HTTP; Thu, 25 Oct 2012 00:14:31 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Oct 2012 09:14:31 +0200 Message-ID: To: Kris Craig Cc: Sherif Ramadan , JJ , internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf3071cc565d183704ccdcf496 Subject: Re: [PHP-DEV] Changing the default value of "true" for CURLOPT_SSL_VERIFYHOST From: g.rossolini@gmail.com (Guillaume Rossolini) --20cf3071cc565d183704ccdcf496 Content-Type: text/plain; charset=UTF-8 On Thu, Oct 25, 2012 at 8:36 AM, Kris Craig wrote: > > What if, instead of changing the behavior, we have it throw a notice or > warning if a boolean value is passed here? Because this is such a common > error, I think it could be really beneficial in helping developers catch > this early. Thoughts? > > Yes please. My thoughts exactly. A notice or a warning really would be best in this case. Regards, --20cf3071cc565d183704ccdcf496--