Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82853 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58113 invoked from network); 16 Feb 2015 15:27:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 15:27:01 -0000 Authentication-Results: pb1.pair.com header.from=rdlowrey@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rdlowrey@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.179 as permitted sender) X-PHP-List-Original-Sender: rdlowrey@gmail.com X-Host-Fingerprint: 209.85.213.179 mail-ig0-f179.google.com Received: from [209.85.213.179] ([209.85.213.179:37712] helo=mail-ig0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/03-36518-34C02E45 for ; Mon, 16 Feb 2015 10:27:00 -0500 Received: by mail-ig0-f179.google.com with SMTP id l13so24169595iga.0 for ; Mon, 16 Feb 2015 07:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3MUJ17iY8c+L6sW2HW1rYKmI/bntkG3vVPG5oWqUYhM=; b=fz72xTTIWDCflHYKSNpV5Qn07R2Ypjw8B3i/pS+oyFh78ET0UCeXb71sA9cK9dT+T2 N2UHHcbsptb8/XpPGOtX+5AvzUHM5u2FPqmPL2mUctj9Yl/FHsSAn74FNZH69BccsPY9 IfNEDTwBSJd2/EtcwTFqmLhuS5gG6mp79cEKxodP3DZkyvDzc4fSSpQKpRVuwYRY7xTP GZGpZvUDvqvsSA3mfEoP/SBLwl1ON//59Vx0e3TXIr+XpHo2ZwMEPzVaKMHzqXC5wxLM DogR01FDBw2ehYD45SXFzRR5KAeBPi/90vxyII1XZLW4i3FAtdA4X1I5JH5PS42jvL9M i2+w== MIME-Version: 1.0 X-Received: by 10.107.137.17 with SMTP id l17mr29012784iod.33.1424100417240; Mon, 16 Feb 2015 07:26:57 -0800 (PST) Sender: rdlowrey@gmail.com Received: by 10.50.156.198 with HTTP; Mon, 16 Feb 2015 07:26:57 -0800 (PST) In-Reply-To: References: Date: Mon, 16 Feb 2015 10:26:57 -0500 X-Google-Sender-Auth: E-Wp-ybXdeiVClV76X6WNwNzAcE Message-ID: To: Zeev Suraski Cc: Daniel Lowrey , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113ed0d47e8881050f363767 Subject: Re: [PHP-DEV] Re: I quit. From: rdlowrey@php.net (Daniel Lowrey) --001a113ed0d47e8881050f363767 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Feb 16, 2015 at 10:19 AM, Zeev Suraski wrote: > > > -----Original Message----- > > From: rdlowrey@gmail.com [mailto:rdlowrey@gmail.com] On Behalf Of > > Daniel Lowrey > > Sent: Monday, February 16, 2015 5:13 PM > > To: internals@lists.php.net > > Subject: [PHP-DEV] Re: I quit. > > > > > The 0.1 RFC version was mentioned a lot as a good compromise by many > > > people and had major support. > > > > Any proposal to the scalar hints problem that doesn't definitively erro= r > > out in > > the `(int) "apple"` case is a non-starter for me; I believe such solutions > > are > > disingenuous at best and dangerous at worst. > > Weak type hints the way Andrea proposed them in v0.1 actually did not accept > "Apple" as an int (wiki.php.net/rfc/scalar_type_hints?rev=3D1420209410): > > "=E2=80=A0Non-numeric strings not accepted. Numeric strings with trailing characters > produce a notice." > > =E2=80=A0 applied to both int and float type hints in case of string inpu= ts. > > Judging by both this and Anthony's message from a couple of days ago giving > the same Apple example, perhaps v0.1 wasn't clearly understood. > > Zeev Perhaps I should've been more explicit: "Numeric strings with trailing characters produce a notice." is also unacceptable. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true); ^ It's my own personal opinion, but as I said before and still believe, allowing such behavior is disingenuous at best and dangerous at worst. --001a113ed0d47e8881050f363767--