Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82851 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53691 invoked from network); 16 Feb 2015 15:12:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 15:12:44 -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.223.177 as permitted sender) X-PHP-List-Original-Sender: rdlowrey@gmail.com X-Host-Fingerprint: 209.85.223.177 mail-ie0-f177.google.com Received: from [209.85.223.177] ([209.85.223.177:35096] helo=mail-ie0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/52-36518-BE802E45 for ; Mon, 16 Feb 2015 10:12:43 -0500 Received: by iecrl12 with SMTP id rl12so32144920iec.2 for ; Mon, 16 Feb 2015 07:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=ymixcD/GZm64HmNDD5mX2YTc+MbQOVyNnJtOYBP5DJ4=; b=veHqXGQ1uqTYwilBLbz8iyoxCjcJR38fm/T7vTEYT3SJeNRHD1vcmJB1X1CBKfu1n9 autBy3fkVpBlazcBqOKRws9JxrUKXuV9sbDUHEP6IXK3klTBlB9WjKmORGJrGIsiCfWQ SC9602pT1a/Z2Xm9bXLi+MG4rhG8TezbcBBQSaR2aAPbGOrkmDXIT+Pj/cU9+9jJozW0 ZCNESKMeG8KFxyx8HR8Po6ox4jmC9D1fPteIV5r4hRLGw9MtiOO495PbZw2KSSrOVeUq oEGnYNDVwrJvv0XKU0ot19MUQoouJzCvF1ukXvYf1lXkx/D8cxjRC/zfxCljArOFUM/G cajQ== MIME-Version: 1.0 X-Received: by 10.107.137.17 with SMTP id l17mr28929751iod.33.1424099560679; Mon, 16 Feb 2015 07:12:40 -0800 (PST) Sender: rdlowrey@gmail.com Received: by 10.50.156.198 with HTTP; Mon, 16 Feb 2015 07:12:40 -0800 (PST) Date: Mon, 16 Feb 2015 10:12:40 -0500 X-Google-Sender-Auth: 4yyUbzfXitrHBLLmsBYdMrTMiRw Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113ed0d4707088050f36049f Subject: Re: I quit. From: rdlowrey@php.net (Daniel Lowrey) --001a113ed0d4707088050f36049f Content-Type: text/plain; charset=UTF-8 > The 0.1 RFC version was mentioned a lot as a good compromise by many > people and had major support. People keep saying this like it's a thing, but I and others are vehemently opposed to this as a solution. The only thing weak hints accomplishes is the illusion of safety without actually providing it. You can already perform lossy casts on your inputs. Weak hints, IMHO, is the worst available option and I know plenty of folks who agree with me. Any proposal to the scalar hints problem that doesn't definitively error out in the `(int) "apple"` case is a non-starter for me; I believe such solutions are disingenuous at best and dangerous at worst. I wish people would stop suggesting that there was universal support for weak hints. There wasn't, and I suspect this dialogue was only avoided because the proposal gave a good option to those in favor of strict hints. --001a113ed0d4707088050f36049f--