Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58314 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29072 invoked from network); 29 Feb 2012 01:02:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Feb 2012 01:02:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=johncrenshaw@priacta.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=johncrenshaw@priacta.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain priacta.com designates 64.95.72.244 as permitted sender) X-PHP-List-Original-Sender: johncrenshaw@priacta.com X-Host-Fingerprint: 64.95.72.244 mxout.myoutlookonline.com Received: from [64.95.72.244] ([64.95.72.244:46791] helo=mxout.myoutlookonline.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/A3-36673-6397D4F4 for ; Tue, 28 Feb 2012 20:02:47 -0500 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id C86637E7058; Tue, 28 Feb 2012 20:02:43 -0500 (EST) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB025.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 5426A7E6FAF; Tue, 28 Feb 2012 20:02:43 -0500 (EST) Received: from MAILR001.mail.lan ([10.110.18.27]) by HUB025.mail.lan ([10.110.17.25]) with mapi; Tue, 28 Feb 2012 20:02:35 -0500 To: Rick WIdmer , "internals@lists.php.net" Date: Tue, 28 Feb 2012 20:02:37 -0500 Thread-Topic: [PHP-DEV] Scalar type hinting Thread-Index: Acz2bUcmkBtGDCZeSByQy65JLQtIogAD1NFw Message-ID: References: <1330357150.2159.30.camel@guybrush> <693e15008681dfe7372eaea66214f8a8.squirrel@www.l-i-e.com> <4F4D5D44.5090307@developersdesk.com> In-Reply-To: <4F4D5D44.5090307@developersdesk.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] Scalar type hinting From: johncrenshaw@priacta.com (John Crenshaw) > -----Original Message----- > From: Rick WIdmer [mailto:vchkpw@developersdesk.com]=20 > > On 2/28/2012 2:58 PM, Kris Craig wrote: > > > strong int $a =3D "1"; // Converts to 1. May or may not throw an error= =20 > > (I'm still on the fence). > > [If] this is an error, it is no longer PHP. Rick, I know what you are getting at, and I even agree that this won't work, but = please let's avoid extreme aggressive statements. This shuts down the discu= ssion and just makes people angry at you. "This is no longer PHP" is an agg= ressive complaint that doesn't help anyone understand why this construct is= a problem. Instead, please articulate the core problem with the proposal. = In this case a better response would be something like: "This re-opens the = viral poisoning problem with strict typing that's already been discussed. W= e can't do this unless you can solve that problem.". Thanks, John Crenshaw Priacta, Inc.