Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82852 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55884 invoked from network); 16 Feb 2015 15:19:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2015 15:19:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.223.178 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.223.178 mail-ie0-f178.google.com Received: from [209.85.223.178] ([209.85.223.178:43931] helo=mail-ie0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/A2-36518-E8A02E45 for ; Mon, 16 Feb 2015 10:19:42 -0500 Received: by iebtr6 with SMTP id tr6so23965971ieb.10 for ; Mon, 16 Feb 2015 07:19:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Z1KXUFl4wgDSlZKqSI6l3We2/piUvfg7MkxpFjVIfFQ=; b=JX9OKoGmnzy+QV2XYr5EBphm26MQ764ZUaZWc520zF8EsxDjDwxdDBMscDNEEXEgW3 7LJlVdfgAeAKypWT85SL4TCRK9U9ufXmyU32qiQx5lVd49cuLtQhf2T74yRAjEMJjjWP JRZdJfxyKOwPoWBcmlF5FvBqZe9v8OuDJoat2p1mBFV6Gy8N0o+8OstUlB+0WCiNBFMK GTAs9GSl50H6fJcs3y3k9JSPgVhWH835y3kSAgVzrT4sZQERcmVV1OSq2sPuAR+zjONE nFVfhgkH0XZEjxI42LGDPmQfzDYtDSICdKmcGU7wNUweunJU7dTrNhLQfTZDewaVHEgP XVWQ== X-Gm-Message-State: ALoCoQmgFLT1tr95y5IBgWdDfB1sgLdr5DU+YZhr4h6S3U3roehNOgVx0HA0xjyPFKV07MKXMSVK29I83ehjJS9RCILrmAimWB+tLUN0fX8ENZloiteWnxtBEwJQssU076SpphyjchFVP8QamJQUHXa/oHX6cXJlKQ== X-Received: by 10.50.7.1 with SMTP id f1mr21834279iga.8.1424099979221; Mon, 16 Feb 2015 07:19:39 -0800 (PST) References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: AQJJKTKHSFDWiWfeq9d8Ap+LpPFhyZwBpA0A Date: Mon, 16 Feb 2015 17:19:37 +0200 Message-ID: To: Daniel Lowrey Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: RE: [PHP-DEV] Re: I quit. From: zeev@zend.com (Zeev Suraski) > -----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 error > out in > the `(int) "apple"` case is a non-starter for me; I believe such solution= s > are > disingenuous at best and dangerous at worst. Weak type hints the way Andrea proposed them in v0.1 actually did not accep= t "Apple" as an int (wiki.php.net/rfc/scalar_type_hints?rev=3D1420209410): "=E2=80=A0Non-numeric strings not accepted. Numeric strings with trailing c= haracters produce a notice." =E2=80=A0 applied to both int and float type hints in case of string inputs= . 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