Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3434 invoked from network); 28 Feb 2012 23:06:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2012 23:06:06 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@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: kris.craig@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:35006] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/7E-36673-DDD5D4F4 for ; Tue, 28 Feb 2012 18:06:06 -0500 Received: by vcbfo14 with SMTP id fo14so2257114vcb.29 for ; Tue, 28 Feb 2012 15:06:03 -0800 (PST) Received-SPF: pass (google.com: domain of kris.craig@gmail.com designates 10.52.71.114 as permitted sender) client-ip=10.52.71.114; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kris.craig@gmail.com designates 10.52.71.114 as permitted sender) smtp.mail=kris.craig@gmail.com; dkim=pass header.i=kris.craig@gmail.com Received: from mr.google.com ([10.52.71.114]) by 10.52.71.114 with SMTP id t18mr15274593vdu.88.1330470363704 (num_hops = 1); Tue, 28 Feb 2012 15:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oCMJw4PnOF1QKr4m0vaJpsLXQUjmMyLMVfA+1IPu1z4=; b=tgex+Wjyc26YLfkWExwwkKxNRN4DyxmrdIcMYfVDUSMtdtpBCghnd6jDzwH2a2/dgV AIyzvgbf9cL2E0ZqQrv1bwSvoQEVAZzAb4wG35sNmy0A1jhEME75+3oIJzEZBLowXguH FaCqBaQehCrhpRLrB6FA7wzLDTuSM9sy355Jc= MIME-Version: 1.0 Received: by 10.52.71.114 with SMTP id t18mr12632477vdu.88.1330470363657; Tue, 28 Feb 2012 15:06:03 -0800 (PST) Received: by 10.52.91.5 with HTTP; Tue, 28 Feb 2012 15:06:03 -0800 (PST) In-Reply-To: <4F4D5D44.5090307@developersdesk.com> References: <1330357150.2159.30.camel@guybrush> <693e15008681dfe7372eaea66214f8a8.squirrel@www.l-i-e.com> <4F4D5D44.5090307@developersdesk.com> Date: Tue, 28 Feb 2012 15:06:03 -0800 Message-ID: To: Rick WIdmer Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf3071d0d468f53604ba0e4552 Subject: Re: [PHP-DEV] Scalar type hinting From: kris.craig@gmail.com (Kris Craig) --20cf3071d0d468f53604ba0e4552 Content-Type: text/plain; charset=ISO-8859-1 @Rick Though I'm not sure I'd agree with the overly broad "it is no longer PHP" hyperbole, I think the basic point that it would be a significant departure from the current model has merit. So ok, you've convinced me. That example should not throw any errors. I'm officially no longer on the fence with that. =) --Kris On Tue, Feb 28, 2012 at 3:03 PM, Rick WIdmer wrote: > On 2/28/2012 2:58 PM, Kris Craig wrote: > > strong int $a = "1"; // Converts to 1. May or may not throw an error (I'm >> still on the fence). >> > > It this is an error, it is no longer PHP. > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --20cf3071d0d468f53604ba0e4552--